Test loading empty YAML file.
(self, temp_dir)
| 210 | ConfigLoader.load(filepath) |
| 211 | |
| 212 | def test_load_empty_yaml(self, temp_dir): |
| 213 | """Test loading empty YAML file.""" |
| 214 | filepath = os.path.join(temp_dir, "empty.yaml") |
| 215 | with open(filepath, "w") as f: |
| 216 | pass # Empty file |
| 217 | |
| 218 | config = ConfigLoader.load(filepath) |
| 219 | assert config.datasets == [] |
| 220 | |
| 221 | def test_save_config(self, temp_dir): |
| 222 | """Test saving config to YAML file.""" |