Skip to content

Commit 215b3a4

Browse files
review @pcrespov
1 parent bcf5417 commit 215b3a4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

services/web/server/tests/unit/isolated/test_tracing.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,14 @@
1717
def mock_webserver_service_environment(
1818
monkeypatch: pytest.MonkeyPatch, mock_webserver_service_environment: EnvVarsDict
1919
) -> EnvVarsDict:
20-
20+
monkeypatch.delenv("WEBSERVER_TRACING")
2121
envs = mock_webserver_service_environment | setenvs_from_dict(
2222
monkeypatch,
2323
{
2424
"TRACING_OPENTELEMETRY_COLLECTOR_ENDPOINT": "http://opentelemetry-collector",
2525
"TRACING_OPENTELEMETRY_COLLECTOR_PORT": "4318",
2626
},
2727
)
28-
envs.pop("WEBSERVER_TRACING")
2928
return envs
3029

3130

0 commit comments

Comments
 (0)