Test loading empty Python file.
(self, temp_dir)
| 278 | """Edge case tests for Config.""" |
| 279 | |
| 280 | def test_empty_py_file(self, temp_dir): |
| 281 | """Test loading empty Python file.""" |
| 282 | config_path = os.path.join(temp_dir, "empty.py") |
| 283 | with open(config_path, "w") as f: |
| 284 | f.write("") |
| 285 | |
| 286 | config = Config(config_path) |
| 287 | assert config is not None |
| 288 | |
| 289 | def test_py_with_none_values(self, temp_dir): |
| 290 | """Test Python file with None values.""" |