Stabilize auth tests in CI
pytest / test (push) Successful in 43s

This commit is contained in:
2026-04-20 17:43:24 +02:00
parent 1ff426d2e9
commit 795c84f177
+1
View File
@@ -45,6 +45,7 @@ def test_database_urls(tmp_path: Path, monkeypatch: pytest.MonkeyPatch):
monkeypatch.setenv("POO_DATABASE_URL", poo_database_url) monkeypatch.setenv("POO_DATABASE_URL", poo_database_url)
monkeypatch.setenv("AUTH_BOOTSTRAP_USERNAME", "admin") monkeypatch.setenv("AUTH_BOOTSTRAP_USERNAME", "admin")
monkeypatch.setenv("AUTH_BOOTSTRAP_PASSWORD", "test-password") monkeypatch.setenv("AUTH_BOOTSTRAP_PASSWORD", "test-password")
monkeypatch.setenv("AUTH_COOKIE_SECURE_OVERRIDE", "false")
get_settings.cache_clear() get_settings.cache_clear()
reset_auth_db_caches() reset_auth_db_caches()