Test getting all file paths.
(self)
| 153 | assert result.get("key") == "value" |
| 154 | |
| 155 | def test_get_file_paths(self): |
| 156 | """Test getting all file paths.""" |
| 157 | datasets = [ |
| 158 | DatasetConfig(file_path="/data/a.json"), |
| 159 | DatasetConfig(file_path="/data/b.json"), |
| 160 | DatasetConfig(file_path="/data/c.json"), |
| 161 | ] |
| 162 | config = StandardConfig(datasets=datasets) |
| 163 | paths = config.get_file_paths() |
| 164 | |
| 165 | assert len(paths) == 3 |
| 166 | assert "/data/a.json" in paths |
| 167 | assert "/data/b.json" in paths |
| 168 | assert "/data/c.json" in paths |
| 169 | |
| 170 | def test_get_file_paths_empty(self): |
| 171 | """Test getting file paths from empty config.""" |
nothing calls this directly
no test coverage detected