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.7 KiB
JSON
1 line
3.7 KiB
JSON
{"nodes": [{"id": "backend_tests_test_recipe_schema_py", "label": "test_recipe_schema.py", "file_type": "code", "source_file": "backend/tests/test_recipe_schema.py", "source_location": "L1"}, {"id": "test_recipe_schema_test_recipe_create_requires_canonical_ingredient_ids", "label": "test_recipe_create_requires_canonical_ingredient_ids()", "file_type": "code", "source_file": "backend/tests/test_recipe_schema.py", "source_location": "L9"}, {"id": "test_recipe_schema_test_recipe_create_rejects_empty_ingredients", "label": "test_recipe_create_rejects_empty_ingredients()", "file_type": "code", "source_file": "backend/tests/test_recipe_schema.py", "source_location": "L25"}, {"id": "test_recipe_schema_test_resolve_ingredient_request_round_trip", "label": "test_resolve_ingredient_request_round_trip()", "file_type": "code", "source_file": "backend/tests/test_recipe_schema.py", "source_location": "L39"}], "edges": [{"source": "backend_tests_test_recipe_schema_py", "target": "uuid", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/tests/test_recipe_schema.py", "source_location": "L1", "weight": 1.0}, {"source": "backend_tests_test_recipe_schema_py", "target": "pytest", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/tests/test_recipe_schema.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_tests_test_recipe_schema_py", "target": "pydantic", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/tests/test_recipe_schema.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_tests_test_recipe_schema_py", "target": "app_schemas_recipe", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/tests/test_recipe_schema.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_tests_test_recipe_schema_py", "target": "test_recipe_schema_test_recipe_create_requires_canonical_ingredient_ids", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_recipe_schema.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_tests_test_recipe_schema_py", "target": "test_recipe_schema_test_recipe_create_rejects_empty_ingredients", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_recipe_schema.py", "source_location": "L25", "weight": 1.0}, {"source": "backend_tests_test_recipe_schema_py", "target": "test_recipe_schema_test_resolve_ingredient_request_round_trip", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_recipe_schema.py", "source_location": "L39", "weight": 1.0}], "raw_calls": [{"caller_nid": "test_recipe_schema_test_recipe_create_requires_canonical_ingredient_ids", "callee": "uuid4", "source_file": "backend/tests/test_recipe_schema.py", "source_location": "L10"}, {"caller_nid": "test_recipe_schema_test_recipe_create_requires_canonical_ingredient_ids", "callee": "RecipeCreate", "source_file": "backend/tests/test_recipe_schema.py", "source_location": "L11"}, {"caller_nid": "test_recipe_schema_test_recipe_create_requires_canonical_ingredient_ids", "callee": "RecipeIngredientRef", "source_file": "backend/tests/test_recipe_schema.py", "source_location": "L18"}, {"caller_nid": "test_recipe_schema_test_recipe_create_rejects_empty_ingredients", "callee": "raises", "source_file": "backend/tests/test_recipe_schema.py", "source_location": "L26"}, {"caller_nid": "test_recipe_schema_test_recipe_create_rejects_empty_ingredients", "callee": "RecipeCreate", "source_file": "backend/tests/test_recipe_schema.py", "source_location": "L27"}, {"caller_nid": "test_recipe_schema_test_resolve_ingredient_request_round_trip", "callee": "ResolveIngredientRequest", "source_file": "backend/tests/test_recipe_schema.py", "source_location": "L40"}]} |