Skip to content

Commit d1f9fc5

Browse files
committed
fix: remove redundant DATABASE_URL environment variable setting in conftest.py
1 parent e07f6da commit d1f9fc5

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

tests/conftest.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ def session_fixture(request, monkeypatch) -> Session:
4545
db_url = f"sqlite:///{path}"
4646

4747
# Use monkeypatch to set DATABASE_URL environment variable
48-
monkeypatch.setenv("DATABASE_URL", db_url)
49-
50-
# Also patch the settings attribute if it's already loaded
5148
monkeypatch.setattr("config.settings.DATABASE_URL", db_url)
5249

5350
# Get path to alembic.ini

0 commit comments

Comments
 (0)