Skip to content

Commit 5159e41

Browse files
introduce webserver 4 tests
1 parent 24445c0 commit 5159e41

26 files changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# pylint: disable=redefined-outer-name
2+
# pylint: disable=unused-argument
3+
# pylint: disable=unused-variable
4+
5+
6+
import pytest
7+
8+
9+
@pytest.fixture
10+
def app_environment(
11+
app_environment: dict[str, str], monkeypatch: pytest.MonkeyPatch
12+
) -> dict[str, str]:
13+
# NOTE: overrides app_environment
14+
monkeypatch.setenv("WEBSERVER_GARBAGE_COLLECTOR", "null")
15+
return app_environment | {"WEBSERVER_GARBAGE_COLLECTOR": "null"}

0 commit comments

Comments
Β (0)