From 215b3a431b19f3794e37b5044c73fd638c5ffa49 Mon Sep 17 00:00:00 2001 From: matusdrobuliak66 Date: Mon, 9 Dec 2024 18:49:55 +0100 Subject: [PATCH] review @pcrespov --- services/web/server/tests/unit/isolated/test_tracing.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/services/web/server/tests/unit/isolated/test_tracing.py b/services/web/server/tests/unit/isolated/test_tracing.py index b906d6756a0..c236e446ab9 100644 --- a/services/web/server/tests/unit/isolated/test_tracing.py +++ b/services/web/server/tests/unit/isolated/test_tracing.py @@ -17,7 +17,7 @@ def mock_webserver_service_environment( monkeypatch: pytest.MonkeyPatch, mock_webserver_service_environment: EnvVarsDict ) -> EnvVarsDict: - + monkeypatch.delenv("WEBSERVER_TRACING") envs = mock_webserver_service_environment | setenvs_from_dict( monkeypatch, { @@ -25,7 +25,6 @@ def mock_webserver_service_environment( "TRACING_OPENTELEMETRY_COLLECTOR_PORT": "4318", }, ) - envs.pop("WEBSERVER_TRACING") return envs