Public Access
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.
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "frontend_src_main_tsx", "label": "main.tsx", "file_type": "code", "source_file": "frontend/src/main.tsx", "source_location": "L1"}], "edges": [{"source": "frontend_src_main_tsx", "target": "react", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "frontend/src/main.tsx", "source_location": "L1", "weight": 1.0}, {"source": "frontend_src_main_tsx", "target": "client", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "frontend/src/main.tsx", "source_location": "L2", "weight": 1.0}, {"source": "frontend_src_main_tsx", "target": "react_hot_toast", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "frontend/src/main.tsx", "source_location": "L3", "weight": 1.0}, {"source": "frontend_src_main_tsx", "target": "frontend_src_app", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "frontend/src/main.tsx", "source_location": "L4", "weight": 1.0}, {"source": "frontend_src_main_tsx", "target": "frontend_src_index_css", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "frontend/src/main.tsx", "source_location": "L5", "weight": 1.0}], "raw_calls": []}
|
||||
Reference in New Issue
Block a user