test: Complete Phase 2 - Integration & Coverage improvements

- Create tests/integration/ directory with conftest.py fixtures
- Add 7 download flow integration tests (test_download_flow.py)
- Add 9 recipe flow integration tests (test_recipe_flow.py)
- Add 12 ModelLifecycleService tests (exclude_model, bulk_delete, error paths)
- Add 5 PersistentRecipeCache concurrent access tests
- Update backend-testing-improvement-plan.md with Phase 2 completion

Total: 28 new tests, all passing (51/51)
This commit is contained in:
Will Miao
2026-02-11 10:55:19 +08:00
parent 25e6d72c4f
commit e335a527d4
7 changed files with 1321 additions and 8 deletions

View File

@@ -0,0 +1 @@
"""Integration tests package."""