Skip to content

Commit b9ae46c

Browse files
committed
Try removing clear=True
1 parent 964ee33 commit b9ae46c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/app-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
run: python3 -m pytest -s -vv --cov --cov-fail-under=85
7777
- name: Run E2E tests with Playwright
7878
id: e2e
79-
if: runner.os != 'Windows'
79+
#if: runner.os != 'Windows'
8080
run: |
8181
playwright install chromium --with-deps
8282
python3 -m pytest tests/e2e.py --tracing=retain-on-failure

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def monkeypatch_session():
4343
@pytest.fixture(scope="session")
4444
def mock_session_env(monkeypatch_session):
4545
"""Mock the environment variables for testing."""
46-
with mock.patch.dict(os.environ, clear=True):
46+
with mock.patch.dict(os.environ):
4747
# Database
4848
monkeypatch_session.setenv("POSTGRES_HOST", POSTGRES_HOST)
4949
monkeypatch_session.setenv("POSTGRES_USERNAME", POSTGRES_USERNAME)

0 commit comments

Comments
 (0)