innercontext/backend/tests
Piotr Oleszczyk 6333c6678a refactor: remove personal_rating, DRY get_or_404, fix ty errors
- Drop Product.personal_rating from model, API schemas, and all frontend
  views (list table, detail view, quick-edit form, new-product form)
- Extract get_or_404 into backend/innercontext/api/utils.py; remove five
  duplicate copies from individual API modules
- Fix all ty type errors: generic get_or_404 with TypeVar, cast() in
  coerce_effect_profile validator, col() for ilike on SQLModel column,
  dict[str, Any] annotation in test helper, ty: ignore for CORSMiddleware

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 11:20:13 +01:00
..
__init__.py Initial commit: backend API, data models, and test suite 2026-02-26 15:10:24 +01:00
conftest.py refactor: remove routine_role, recommended_frequency, evidence_level, cumulative_with 2026-02-27 10:22:59 +01:00
test_health.py Initial commit: backend API, data models, and test suite 2026-02-26 15:10:24 +01:00
test_inventory.py Initial commit: backend API, data models, and test suite 2026-02-26 15:10:24 +01:00
test_product_model.py refactor: remove personal_rating, DRY get_or_404, fix ty errors 2026-02-27 11:20:13 +01:00
test_products.py refactor: remove routine_role, recommended_frequency, evidence_level, cumulative_with 2026-02-27 10:22:59 +01:00
test_routines.py fix: resolve frontend/backend integration bugs 2026-02-26 21:53:17 +01:00
test_skincare.py fix: resolve frontend/backend integration bugs 2026-02-26 21:53:17 +01:00