8000
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.
2 parents fed613f + c80b3b7 commit ccefe80Copy full SHA for ccefe80
tests/unit/test_config.py
@@ -126,8 +126,10 @@ def test_env_config_missing_file_raises(monkeypatch):
126
config._get_config_files()
127
128
129
-def test_env_config_not_defined_does_not_raise(mock_clean_env):
130
- assert config._get_config_files() == []
+def test_env_config_not_defined_does_not_raise(mock_clean_env, monkeypatch):
+ with monkeypatch.context() as m:
131
+ m.setattr(config, "_DEFAULT_FILES", [])
132
+ assert config._get_config_files() == []
133
134
135
def test_default_config(mock_clean_env, monkeypatch):
0 commit comments