We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3535fea commit 00c23caCopy full SHA for 00c23ca
tests/test_config.py
@@ -24,7 +24,9 @@ async def test_pg_settings_with_env_postgres(monkeypatch):
24
monkeypatch.setenv("POSTGRES_HOST", "0.0.0.0")
25
monkeypatch.setenv("POSTGRES_PORT", "1111")
26
monkeypatch.setenv("POSTGRES_DBNAME", "pgstac")
27
- assert PostgresSettings(_env_file=None)
+ with pytest.warns(DeprecationWarning) as record:
28
+ assert PostgresSettings(_env_file=None)
29
+ assert len(record) == 5
30
31
32
async def test_pg_settings_attributes(monkeypatch):
0 commit comments