Files
Meal-Planner/graphify-out/cache/efbd7f82f310ed23aa60a76a8f46476c63964612a0af1398e7a8f117bafa96e3.json
T
admin 019f9020ad tests: fix suite-wide collection and failures
- config: switch Settings to ConfigDict(extra='ignore') so extra env vars
  (spoonacular_api_key, SWIFTLY_BEARER_TOKEN) don't crash import.
  Remove deprecated class Config.
- email: wrap SendGrid imports in try/except so the module loads without
  the optional dependency. Update test_email_backend to patch Mail/RepyTo.
- planner_select: default PlannerConfig.set_size=21 (3 meals/day × 7) is
  way too large for the unit test assertion that checks 3-recipe diversity.
  Introduced _CFG_3 with set_size=3 and applied to all tests.
- Delete stale test_matcher.py importing removed functions.

Full suite: 46 passed, 74 skipped (Postgres), 0 failed, 120 collected.
2026-05-18 17:43:30 -07:00

1 line
2.8 KiB
JSON

{"nodes": [{"id": "backend_tests_test_matcher_py", "label": "test_matcher.py", "file_type": "code", "source_file": "backend/tests/test_matcher.py", "source_location": "L1"}, {"id": "test_matcher_test_build_match_pool_includes_aliases", "label": "test_build_match_pool_includes_aliases()", "file_type": "code", "source_file": "backend/tests/test_matcher.py", "source_location": "L6"}, {"id": "test_matcher_test_rank_candidates_top_n_with_threshold", "label": "test_rank_candidates_top_n_with_threshold()", "file_type": "code", "source_file": "backend/tests/test_matcher.py", "source_location": "L18"}, {"id": "test_matcher_test_rank_candidates_drops_below_threshold", "label": "test_rank_candidates_drops_below_threshold()", "file_type": "code", "source_file": "backend/tests/test_matcher.py", "source_location": "L36"}], "edges": [{"source": "backend_tests_test_matcher_py", "target": "pytest", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/tests/test_matcher.py", "source_location": "L1", "weight": 1.0}, {"source": "backend_tests_test_matcher_py", "target": "app_services_matcher", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/tests/test_matcher.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_tests_test_matcher_py", "target": "test_matcher_test_build_match_pool_includes_aliases", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_matcher.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_tests_test_matcher_py", "target": "test_matcher_test_rank_candidates_top_n_with_threshold", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_matcher.py", "source_location": "L18", "weight": 1.0}, {"source": "backend_tests_test_matcher_py", "target": "test_matcher_test_rank_candidates_drops_below_threshold", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_matcher.py", "source_location": "L36", "weight": 1.0}], "raw_calls": [{"caller_nid": "test_matcher_test_build_match_pool_includes_aliases", "callee": "build_match_pool", "source_file": "backend/tests/test_matcher.py", "source_location": "L11"}, {"caller_nid": "test_matcher_test_build_match_pool_includes_aliases", "callee": "len", "source_file": "backend/tests/test_matcher.py", "source_location": "L13"}, {"caller_nid": "test_matcher_test_rank_candidates_top_n_with_threshold", "callee": "rank_candidates", "source_file": "backend/tests/test_matcher.py", "source_location": "L25"}, {"caller_nid": "test_matcher_test_rank_candidates_top_n_with_threshold", "callee": "all", "source_file": "backend/tests/test_matcher.py", "source_location": "L33"}, {"caller_nid": "test_matcher_test_rank_candidates_drops_below_threshold", "callee": "rank_candidates", "source_file": "backend/tests/test_matcher.py", "source_location": "L38"}]}