{"nodes": [{"id": "backend_tests_conftest_py", "label": "conftest.py", "file_type": "code", "source_file": "backend/tests/conftest.py", "source_location": "L1"}, {"id": "conftest_resolve_test_dsn", "label": "_resolve_test_dsn()", "file_type": "code", "source_file": "backend/tests/conftest.py", "source_location": "L45"}, {"id": "conftest_postgres_reachable", "label": "_postgres_reachable()", "file_type": "code", "source_file": "backend/tests/conftest.py", "source_location": "L54"}, {"id": "conftest_pytest_collection_modifyitems", "label": "pytest_collection_modifyitems()", "file_type": "code", "source_file": "backend/tests/conftest.py", "source_location": "L72"}, {"id": "conftest_pytest_configure", "label": "pytest_configure()", "file_type": "code", "source_file": "backend/tests/conftest.py", "source_location": "L84"}, {"id": "conftest_schema", "label": "_schema()", "file_type": "code", "source_file": "backend/tests/conftest.py", "source_location": "L105"}, {"id": "conftest_engine", "label": "_engine()", "file_type": "code", "source_file": "backend/tests/conftest.py", "source_location": "L129"}, {"id": "conftest_db", "label": "db()", "file_type": "code", "source_file": "backend/tests/conftest.py", "source_location": "L142"}, {"id": "conftest_db_session", "label": "db_session()", "file_type": "code", "source_file": "backend/tests/conftest.py", "source_location": "L159"}, {"id": "conftest_client", "label": "client()", "file_type": "code", "source_file": "backend/tests/conftest.py", "source_location": "L172"}, {"id": "conftest_client_no_db", "label": "client_no_db()", "file_type": "code", "source_file": "backend/tests/conftest.py", "source_location": "L193"}, {"id": "conftest_rationale_1", "label": "Pytest fixtures for MealPlanner backend. DB strategy ----------- - If env ``TES", "file_type": "rationale", "source_file": "backend/tests/conftest.py", "source_location": "L1"}, {"id": "conftest_rationale_73", "label": "Skip postgres-only tests when no live Postgres is available.", "file_type": "rationale", "source_file": "backend/tests/conftest.py", "source_location": "L73"}, {"id": "conftest_rationale_143", "label": "Per-test transactional session that rolls back at teardown.", "file_type": "rationale", "source_file": "backend/tests/conftest.py", "source_location": "L143"}, {"id": "conftest_rationale_160", "label": "Plain SessionLocal for tests that need to seed data outside the transactiona", "file_type": "rationale", "source_file": "backend/tests/conftest.py", "source_location": "L160"}, {"id": "conftest_rationale_173", "label": "TestClient with get_db overridden to yield the test session.", "file_type": "rationale", "source_file": "backend/tests/conftest.py", "source_location": "L173"}, {"id": "conftest_rationale_194", "label": "TestClient that does NOT require a live DB \u2014 for pure import/wiring smoke.", "file_type": "rationale", "source_file": "backend/tests/conftest.py", "source_location": "L194"}], "edges": [{"source": "backend_tests_conftest_py", "target": "os", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/tests/conftest.py", "source_location": "L18", "weight": 1.0}, {"source": "backend_tests_conftest_py", "target": "sys", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/tests/conftest.py", "source_location": "L19", "weight": 1.0}, {"source": "backend_tests_conftest_py", "target": "pathlib", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/tests/conftest.py", "source_location": "L20", "weight": 1.0}, {"source": "backend_tests_conftest_py", "target": "subprocess", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/tests/conftest.py", "source_location": "L21", "weight": 1.0}, {"source": "backend_tests_conftest_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/tests/conftest.py", "source_location": "L22", "weight": 1.0}, {"source": "backend_tests_conftest_py", "target": "pytest", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/tests/conftest.py", "source_location": "L24", "weight": 1.0}, {"source": "backend_tests_conftest_py", "target": "sqlalchemy", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/tests/conftest.py", "source_location": "L40", "weight": 1.0}, {"source": "backend_tests_conftest_py", "target": "sqlalchemy_orm", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/tests/conftest.py", "source_location": "L41", "weight": 1.0}, {"source": "backend_tests_conftest_py", "target": "sqlalchemy_exc", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/tests/conftest.py", "source_location": "L42", "weight": 1.0}, {"source": "backend_tests_conftest_py", "target": "conftest_resolve_test_dsn", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/conftest.py", "source_location": "L45", "weight": 1.0}, {"source": "backend_tests_conftest_py", "target": "conftest_postgres_reachable", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/conftest.py", "source_location": "L54", "weight": 1.0}, {"source": "backend_tests_conftest_py", "target": "conftest_pytest_collection_modifyitems", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/conftest.py", "source_location": "L72", "weight": 1.0}, {"source": "backend_tests_conftest_py", "target": "conftest_pytest_configure", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/conftest.py", "source_location": "L84", "weight": 1.0}, {"source": "backend_tests_conftest_py", "target": "conftest_schema", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/conftest.py", "source_location": "L105", "weight": 1.0}, {"source": "backend_tests_conftest_py", "target": "conftest_engine", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/conftest.py", "source_location": "L129", "weight": 1.0}, {"source": "backend_tests_conftest_py", "target": "conftest_db", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/conftest.py", "source_location": "L142", "weight": 1.0}, {"source": "backend_tests_conftest_py", "target": "conftest_db_session", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/conftest.py", "source_location": "L159", "weight": 1.0}, {"source": "backend_tests_conftest_py", "target": "conftest_client", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/conftest.py", "source_location": "L172", "weight": 1.0}, {"source": "backend_tests_conftest_py", "target": "conftest_client_no_db", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/conftest.py", "source_location": "L193", "weight": 1.0}, {"source": "conftest_rationale_1", "target": "backend_tests_conftest_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/conftest.py", "source_location": "L1", "weight": 1.0}, {"source": "conftest_rationale_73", "target": "conftest_pytest_collection_modifyitems", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/conftest.py", "source_location": "L73", "weight": 1.0}, {"source": "conftest_rationale_143", "target": "conftest_db", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/conftest.py", "source_location": "L143", "weight": 1.0}, {"source": "conftest_rationale_160", "target": "conftest_db_session", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/conftest.py", "source_location": "L160", "weight": 1.0}, {"source": "conftest_rationale_173", "target": "conftest_client", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/conftest.py", "source_location": "L173", "weight": 1.0}, {"source": "conftest_rationale_194", "target": "conftest_client_no_db", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/conftest.py", "source_location": "L194", "weight": 1.0}], "raw_calls": [{"caller_nid": "conftest_resolve_test_dsn", "callee": "get", "source_file": "backend/tests/conftest.py", "source_location": "L46"}, {"caller_nid": "conftest_resolve_test_dsn", "callee": "get", "source_file": "backend/tests/conftest.py", "source_location": "L46"}, {"caller_nid": "conftest_resolve_test_dsn", "callee": "startswith", "source_file": "backend/tests/conftest.py", "source_location": "L49"}, {"caller_nid": "conftest_postgres_reachable", "callee": "create_engine", "source_file": "backend/tests/conftest.py", "source_location": "L56"}, {"caller_nid": "conftest_postgres_reachable", "callee": "replace", "source_file": "backend/tests/conftest.py", "source_location": "L57"}, {"caller_nid": "conftest_postgres_reachable", "callee": "connect", "source_file": "backend/tests/conftest.py", "source_location": "L60"}, {"caller_nid": "conftest_postgres_reachable", "callee": "execute", "source_file": "backend/tests/conftest.py", "source_location": "L61"}, {"caller_nid": "conftest_postgres_reachable", "callee": "text", "source_file": "backend/tests/conftest.py", "source_location": "L61"}, {"caller_nid": "conftest_postgres_reachable", "callee": "dispose", "source_file": "backend/tests/conftest.py", "source_location": "L62"}, {"caller_nid": "conftest_pytest_collection_modifyitems", "callee": "skip", "source_file": "backend/tests/conftest.py", "source_location": "L76"}, {"caller_nid": "conftest_pytest_collection_modifyitems", "callee": "add_marker", "source_file": "backend/tests/conftest.py", "source_location": "L81"}, {"caller_nid": "conftest_pytest_configure", "callee": "addinivalue_line", "source_file": "backend/tests/conftest.py", "source_location": "L85"}, {"caller_nid": "conftest_pytest_configure", "callee": "addinivalue_line", "source_file": "backend/tests/conftest.py", "source_location": "L89"}, {"caller_nid": "conftest_pytest_configure", "callee": "addinivalue_line", "source_file": "backend/tests/conftest.py", "source_location": "L94"}, {"caller_nid": "conftest_schema", "callee": "copy", "source_file": "backend/tests/conftest.py", "source_location": "L109"}, {"caller_nid": "conftest_schema", "callee": "run", "source_file": "backend/tests/conftest.py", "source_location": "L112"}, {"caller_nid": "conftest_schema", "callee": "str", "source_file": "backend/tests/conftest.py", "source_location": "L114"}, {"caller_nid": "conftest_schema", "callee": "run", "source_file": "backend/tests/conftest.py", "source_location": "L120"}, {"caller_nid": "conftest_schema", "callee": "str", "source_file": "backend/tests/conftest.py", "source_location": "L122"}, {"caller_nid": "conftest_engine", "callee": "create_engine", "source_file": "backend/tests/conftest.py", "source_location": "L133"}, {"caller_nid": "conftest_engine", "callee": "replace", "source_file": "backend/tests/conftest.py", "source_location": "L134"}, {"caller_nid": "conftest_engine", "callee": "dispose", "source_file": "backend/tests/conftest.py", "source_location": "L138"}, {"caller_nid": "conftest_db", "callee": "skip", "source_file": "backend/tests/conftest.py", "source_location": "L145"}, {"caller_nid": "conftest_db", "callee": "connect", "source_file": "backend/tests/conftest.py", "source_location": "L146"}, {"caller_nid": "conftest_db", "callee": "begin", "source_file": "backend/tests/conftest.py", "source_location": "L147"}, {"caller_nid": "conftest_db", "callee": "sessionmaker", "source_file": "backend/tests/conftest.py", "source_location": "L148"}, {"caller_nid": "conftest_db", "callee": "Session", "source_file": "backend/tests/conftest.py", "source_location": "L149"}, {"caller_nid": "conftest_db", "callee": "close", "source_file": "backend/tests/conftest.py", "source_location": "L153"}, {"caller_nid": "conftest_db", "callee": "rollback", "source_file": "backend/tests/conftest.py", "source_location": "L154"}, {"caller_nid": "conftest_db", "callee": "close", "source_file": "backend/tests/conftest.py", "source_location": "L155"}, {"caller_nid": "conftest_db_session", "callee": "SessionLocal", "source_file": "backend/tests/conftest.py", "source_location": "L164"}, {"caller_nid": "conftest_db_session", "callee": "close", "source_file": "backend/tests/conftest.py", "source_location": "L168"}, {"caller_nid": "conftest_client", "callee": "TestClient", "source_file": "backend/tests/conftest.py", "source_location": "L186"}, {"caller_nid": "conftest_client", "callee": "pop", "source_file": "backend/tests/conftest.py", "source_location": "L189"}, {"caller_nid": "conftest_client_no_db", "callee": "TestClient", "source_file": "backend/tests/conftest.py", "source_location": "L215"}, {"caller_nid": "conftest_client_no_db", "callee": "pop", "source_file": "backend/tests/conftest.py", "source_location": "L218"}]}