Create a temporary config file with invalid JSON.
(tmp_path)
| 47 | |
| 48 | @pytest.fixture |
| 49 | def invalid_config(tmp_path): |
| 50 | """Create a temporary config file with invalid JSON.""" |
| 51 | config_file = tmp_path / "config_invalid.json" |
| 52 | config_file.write_text("this is not json") |
| 53 | return config_file |
| 54 | |
| 55 | |
| 56 | def test_load_config_valid(valid_config): |
nothing calls this directly
no outgoing calls
no test coverage detected