Commit 41e0d6f
authored
test: add catalog preview endpoint tests (#969)
Add test coverage for the catalog preview API including:
- Filter validation with includedModels/excludedModels patterns
- filterStatus parameter testing (all/included/excluded)
- Error handling for invalid configs and nonexistent paths
- User-provided catalog data support via catalogData parameter
Implement helper utilities for preview API testing
Enhance test fixtures to support parameterized catalog selection,
enabling tests against both default and validated catalog sources.1 parent 8516939 commit 41e0d6f
File tree
4 files changed
+602
-2
lines changed- tests/model_registry/model_catalog
4 files changed
+602
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
257 | 258 | | |
258 | 259 | | |
259 | 260 | | |
260 | | - | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
261 | 284 | | |
262 | | - | |
| 285 | + | |
263 | 286 | | |
264 | 287 | | |
265 | 288 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
0 commit comments