Public Access
- 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.
1 line
3.8 KiB
JSON
1 line
3.8 KiB
JSON
{"nodes": [{"id": "backend_tests_test_smoke_py", "label": "test_smoke.py", "file_type": "code", "source_file": "backend/tests/test_smoke.py", "source_location": "L1"}, {"id": "test_smoke_test_app_imports", "label": "test_app_imports()", "file_type": "code", "source_file": "backend/tests/test_smoke.py", "source_location": "L15"}, {"id": "test_smoke_test_health", "label": "test_health()", "file_type": "code", "source_file": "backend/tests/test_smoke.py", "source_location": "L21"}, {"id": "test_smoke_test_health_db", "label": "test_health_db()", "file_type": "code", "source_file": "backend/tests/test_smoke.py", "source_location": "L28"}, {"id": "test_smoke_test_router_list_endpoints", "label": "test_router_list_endpoints()", "file_type": "code", "source_file": "backend/tests/test_smoke.py", "source_location": "L49"}, {"id": "test_smoke_rationale_1", "label": "Smoke tests: app boots, routers wire up, no import-time crashes. The router-lis", "file_type": "rationale", "source_file": "backend/tests/test_smoke.py", "source_location": "L1"}, {"id": "test_smoke_rationale_50", "label": "Each canonical GET must respond. 200 (handled), 401 (admin-gated), 404 (hand", "file_type": "rationale", "source_file": "backend/tests/test_smoke.py", "source_location": "L50"}], "edges": [{"source": "backend_tests_test_smoke_py", "target": "os", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/tests/test_smoke.py", "source_location": "L11", "weight": 1.0}, {"source": "backend_tests_test_smoke_py", "target": "pytest", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/tests/test_smoke.py", "source_location": "L12", "weight": 1.0}, {"source": "backend_tests_test_smoke_py", "target": "test_smoke_test_app_imports", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_smoke.py", "source_location": "L15", "weight": 1.0}, {"source": "backend_tests_test_smoke_py", "target": "test_smoke_test_health", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_smoke.py", "source_location": "L21", "weight": 1.0}, {"source": "backend_tests_test_smoke_py", "target": "test_smoke_test_health_db", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_smoke.py", "source_location": "L28", "weight": 1.0}, {"source": "backend_tests_test_smoke_py", "target": "test_smoke_test_router_list_endpoints", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_smoke.py", "source_location": "L49", "weight": 1.0}, {"source": "test_smoke_rationale_1", "target": "backend_tests_test_smoke_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_smoke.py", "source_location": "L1", "weight": 1.0}, {"source": "test_smoke_rationale_50", "target": "test_smoke_test_router_list_endpoints", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_smoke.py", "source_location": "L50", "weight": 1.0}], "raw_calls": [{"caller_nid": "test_smoke_test_health", "callee": "get", "source_file": "backend/tests/test_smoke.py", "source_location": "L22"}, {"caller_nid": "test_smoke_test_health", "callee": "json", "source_file": "backend/tests/test_smoke.py", "source_location": "L24"}, {"caller_nid": "test_smoke_test_health_db", "callee": "get", "source_file": "backend/tests/test_smoke.py", "source_location": "L29"}, {"caller_nid": "test_smoke_test_health_db", "callee": "json", "source_file": "backend/tests/test_smoke.py", "source_location": "L31"}, {"caller_nid": "test_smoke_test_health_db", "callee": "get", "source_file": "backend/tests/test_smoke.py", "source_location": "L32"}, {"caller_nid": "test_smoke_test_router_list_endpoints", "callee": "get", "source_file": "backend/tests/test_smoke.py", "source_location": "L56"}]} |