Skip to content

Commit 90f9779

Browse files
committed
test: isolate settings precedence env overrides
Signed-off-by: Grant Ramsay <seapagan@gmail.com>
1 parent e4263f4 commit 90f9779

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/unit/test_validation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ def test_environment_overrides_dotenv_and_secrets(
389389
self, monkeypatch, tmp_path: Path
390390
) -> None:
391391
"""Environment variables should have highest precedence."""
392+
self.clear_settings_env(monkeypatch)
392393
secrets_dir = tmp_path / "secrets"
393394
secrets_dir.mkdir()
394395
env_file = tmp_path / ".env"

0 commit comments

Comments
 (0)