Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
matusdrobuliak66 committed Dec 9, 2024
1 parent bf06671 commit bcf5417
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion services/web/server/tests/unit/isolated/test_tracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@ def mock_webserver_service_environment(
monkeypatch: pytest.MonkeyPatch, mock_webserver_service_environment: EnvVarsDict
) -> EnvVarsDict:

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


def test_middleware_restrictions_opentelemetry_is_second_middleware(
Expand Down

0 comments on commit bcf5417

Please sign in to comment.