Files
Meal-Planner/graphify-out/cache/1fdc1f2ea191620ac66a16c2228188f5e9a6c9387f921c4cd902b9319eb38640.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
1.9 KiB
JSON

{"nodes": [{"id": "backend_app_services_planner_config_py", "label": "config.py", "file_type": "code", "source_file": "backend/app/services/planner/config.py", "source_location": "L1"}, {"id": "config_plannerconfig", "label": "PlannerConfig", "file_type": "code", "source_file": "backend/app/services/planner/config.py", "source_location": "L8"}, {"id": "config_plannerconfig_validate", "label": ".validate()", "file_type": "code", "source_file": "backend/app/services/planner/config.py", "source_location": "L35"}, {"id": "config_rationale_1", "label": "Planner constants. Tune here without touching algorithm code.", "file_type": "rationale", "source_file": "backend/app/services/planner/config.py", "source_location": "L1"}], "edges": [{"source": "backend_app_services_planner_config_py", "target": "dataclasses", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/services/planner/config.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_app_services_planner_config_py", "target": "config_plannerconfig", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/services/planner/config.py", "source_location": "L8", "weight": 1.0}, {"source": "config_plannerconfig", "target": "config_plannerconfig_validate", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/app/services/planner/config.py", "source_location": "L35", "weight": 1.0}, {"source": "config_rationale_1", "target": "backend_app_services_planner_config_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/app/services/planner/config.py", "source_location": "L1", "weight": 1.0}], "raw_calls": [{"caller_nid": "config_plannerconfig_validate", "callee": "abs", "source_file": "backend/app/services/planner/config.py", "source_location": "L37"}, {"caller_nid": "config_plannerconfig_validate", "callee": "ValueError", "source_file": "backend/app/services/planner/config.py", "source_location": "L38"}]}