Commit 0ce465c
committed
fix(tests): handle missing torch gracefully in test fixtures
- Wrap model loader import in try/except block
- Wrap inference engine import in try/except block
- Allow tests to run without ML dependencies installed
- Improve test isolation for database-focused tests
Enables running database tests without full ML stack.1 parent 252b00d commit 0ce465c
1 file changed
Lines changed: 12 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | | - | |
332 | | - | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
333 | 334 | | |
334 | | - | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
335 | 338 | | |
336 | | - | |
337 | | - | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
338 | 342 | | |
339 | | - | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
340 | 346 | | |
341 | 347 | | |
0 commit comments