Cristiano Piemontese 0cc8c760d0
Add telepoison (#148)
* add telepoison

* rename

* rename file too, duh

* rename test file

* port updates

* add standard workflow
2023-06-04 08:23:03 -06:00

19 lines
409 B
Elixir

defmodule OpentelemetryHTTPoison.Case do
@moduledoc false
use ExUnit.CaseTemplate
setup do
on_exit(fn ->
Application.delete_env(:opentelemetry_httpoison, :infer_route)
Application.delete_env(:opentelemetry_httpoison, :ot_attributes)
end)
end
using do
quote do
defp set_env(key, value), do: Application.put_env(:opentelemetry_httpoison, key, value)
end
end
end