Skip to content

Commit

Permalink
Merge branch 'master' into refactor-gh-workflow-file
Browse files Browse the repository at this point in the history
  • Loading branch information
bisgaard-itis committed Dec 10, 2024
2 parents 06f6351 + ed17770 commit ee8d6a7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions services/web/server/tests/unit/isolated/test_tracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@
def mock_webserver_service_environment(
monkeypatch: pytest.MonkeyPatch, mock_webserver_service_environment: EnvVarsDict
) -> EnvVarsDict:

return mock_webserver_service_environment | setenvs_from_dict(
monkeypatch.delenv("WEBSERVER_TRACING")
envs = mock_webserver_service_environment | setenvs_from_dict(
monkeypatch,
{
"TRACING_OPENTELEMETRY_COLLECTOR_ENDPOINT": "http://opentelemetry-collector",
"TRACING_OPENTELEMETRY_COLLECTOR_PORT": "4318",
},
)
return envs


def test_middleware_restrictions_opentelemetry_is_second_middleware(
Expand Down

0 comments on commit ee8d6a7

Please sign in to comment.