Files
Meal-Planner/graphify-out/cache/da85812840888913d18f8a774e090306985497a2da2448d486841b8060a5fee4.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
3.0 KiB
JSON

{"nodes": [{"id": "backend_tests_test_alembic_py", "label": "test_alembic.py", "file_type": "code", "source_file": "backend/tests/test_alembic.py", "source_location": "L1"}, {"id": "test_alembic_test_alembic_upgrade_head_roundtrip", "label": "test_alembic_upgrade_head_roundtrip()", "file_type": "code", "source_file": "backend/tests/test_alembic.py", "source_location": "L21"}, {"id": "test_alembic_rationale_1", "label": "Alembic round-trip test. Verifies that ``alembic upgrade head`` followed by ``a", "file_type": "rationale", "source_file": "backend/tests/test_alembic.py", "source_location": "L1"}], "edges": [{"source": "backend_tests_test_alembic_py", "target": "os", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/tests/test_alembic.py", "source_location": "L12", "weight": 1.0}, {"source": "backend_tests_test_alembic_py", "target": "pathlib", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/tests/test_alembic.py", "source_location": "L13", "weight": 1.0}, {"source": "backend_tests_test_alembic_py", "target": "subprocess", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/tests/test_alembic.py", "source_location": "L14", "weight": 1.0}, {"source": "backend_tests_test_alembic_py", "target": "pytest", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/tests/test_alembic.py", "source_location": "L15", "weight": 1.0}, {"source": "backend_tests_test_alembic_py", "target": "test_alembic_test_alembic_upgrade_head_roundtrip", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_alembic.py", "source_location": "L21", "weight": 1.0}, {"source": "test_alembic_rationale_1", "target": "backend_tests_test_alembic_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_alembic.py", "source_location": "L1", "weight": 1.0}], "raw_calls": [{"caller_nid": "test_alembic_test_alembic_upgrade_head_roundtrip", "callee": "get", "source_file": "backend/tests/test_alembic.py", "source_location": "L22"}, {"caller_nid": "test_alembic_test_alembic_upgrade_head_roundtrip", "callee": "get", "source_file": "backend/tests/test_alembic.py", "source_location": "L22"}, {"caller_nid": "test_alembic_test_alembic_upgrade_head_roundtrip", "callee": "copy", "source_file": "backend/tests/test_alembic.py", "source_location": "L25"}, {"caller_nid": "test_alembic_test_alembic_upgrade_head_roundtrip", "callee": "run", "source_file": "backend/tests/test_alembic.py", "source_location": "L31"}, {"caller_nid": "test_alembic_test_alembic_upgrade_head_roundtrip", "callee": "str", "source_file": "backend/tests/test_alembic.py", "source_location": "L33"}, {"caller_nid": "test_alembic_test_alembic_upgrade_head_roundtrip", "callee": "run", "source_file": "backend/tests/test_alembic.py", "source_location": "L40"}, {"caller_nid": "test_alembic_test_alembic_upgrade_head_roundtrip", "callee": "str", "source_file": "backend/tests/test_alembic.py", "source_location": "L42"}]}