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

{"nodes": [{"id": "backend_app_schemas_ingredient_py", "label": "ingredient.py", "file_type": "code", "source_file": "backend/app/schemas/ingredient.py", "source_location": "L1"}, {"id": "ingredient_ingredientbase", "label": "IngredientBase", "file_type": "code", "source_file": "backend/app/schemas/ingredient.py", "source_location": "L10"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "ingredient_strip_and_drop_empty", "label": "_strip_and_drop_empty()", "file_type": "code", "source_file": "backend/app/schemas/ingredient.py", "source_location": "L19"}, {"id": "ingredient_ingredientcreate", "label": "IngredientCreate", "file_type": "code", "source_file": "backend/app/schemas/ingredient.py", "source_location": "L23"}, {"id": "ingredient_ingredientupdate", "label": "IngredientUpdate", "file_type": "code", "source_file": "backend/app/schemas/ingredient.py", "source_location": "L27"}, {"id": "ingredient_ingredientread", "label": "IngredientRead", "file_type": "code", "source_file": "backend/app/schemas/ingredient.py", "source_location": "L42"}, {"id": "ingredient_ingredientgrocerymatchread", "label": "IngredientGroceryMatchRead", "file_type": "code", "source_file": "backend/app/schemas/ingredient.py", "source_location": "L48"}], "edges": [{"source": "backend_app_schemas_ingredient_py", "target": "decimal", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/ingredient.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_app_schemas_ingredient_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/ingredient.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_app_schemas_ingredient_py", "target": "uuid", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/ingredient.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_app_schemas_ingredient_py", "target": "pydantic", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/ingredient.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_app_schemas_ingredient_py", "target": "ingredient_ingredientbase", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/ingredient.py", "source_location": "L10", "weight": 1.0}, {"source": "ingredient_ingredientbase", "target": "basemodel", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/ingredient.py", "source_location": "L10", "weight": 1.0}, {"source": "backend_app_schemas_ingredient_py", "target": "ingredient_strip_and_drop_empty", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/ingredient.py", "source_location": "L19", "weight": 1.0}, {"source": "backend_app_schemas_ingredient_py", "target": "ingredient_ingredientcreate", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/ingredient.py", "source_location": "L23", "weight": 1.0}, {"source": "ingredient_ingredientcreate", "target": "ingredient_ingredientbase", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/ingredient.py", "source_location": "L23", "weight": 1.0}, {"source": "backend_app_schemas_ingredient_py", "target": "ingredient_ingredientupdate", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/ingredient.py", "source_location": "L27", "weight": 1.0}, {"source": "ingredient_ingredientupdate", "target": "basemodel", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/ingredient.py", "source_location": "L27", "weight": 1.0}, {"source": "backend_app_schemas_ingredient_py", "target": "ingredient_strip_and_drop_empty", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/ingredient.py", "source_location": "L36", "weight": 1.0}, {"source": "backend_app_schemas_ingredient_py", "target": "ingredient_ingredientread", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/ingredient.py", "source_location": "L42", "weight": 1.0}, {"source": "ingredient_ingredientread", "target": "ingredient_ingredientbase", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/ingredient.py", "source_location": "L42", "weight": 1.0}, {"source": "backend_app_schemas_ingredient_py", "target": "ingredient_ingredientgrocerymatchread", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/ingredient.py", "source_location": "L48", "weight": 1.0}, {"source": "ingredient_ingredientgrocerymatchread", "target": "basemodel", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/ingredient.py", "source_location": "L48", "weight": 1.0}], "raw_calls": [{"caller_nid": "ingredient_strip_and_drop_empty", "callee": "strip", "source_file": "backend/app/schemas/ingredient.py", "source_location": "L20"}, {"caller_nid": "ingredient_strip_and_drop_empty", "callee": "strip", "source_file": "backend/app/schemas/ingredient.py", "source_location": "L20"}, {"caller_nid": "ingredient_strip_and_drop_empty", "callee": "strip", "source_file": "backend/app/schemas/ingredient.py", "source_location": "L39"}, {"caller_nid": "ingredient_strip_and_drop_empty", "callee": "strip", "source_file": "backend/app/schemas/ingredient.py", "source_location": "L39"}]}