| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -126,8 +126,10 @@ def test_env_config_missing_file_raises(monkeypatch): | |||
| 126 | 126 | config._get_config_files() | |
| 127 | 127 | ||
| 128 | 128 | ||
| 129 | - def test_env_config_not_defined_does_not_raise(mock_clean_env): | ||
| 130 | - assert config._get_config_files() == [] | ||
| 129 | + def test_env_config_not_defined_does_not_raise(mock_clean_env, monkeypatch): | ||
| 130 | + with monkeypatch.context() as m: | ||
| 131 | + m.setattr(config, "_DEFAULT_FILES", []) | ||
| 132 | + assert config._get_config_files() == [] | ||
| 131 | 133 | ||
| 132 | 134 | ||
| 133 | 135 | def test_default_config(mock_clean_env, monkeypatch): | |
| Back | FazBrowse Home | New Git URL |
0 commit comments