Graph-Native Infrastructure for Context and Accountable AI Systems
Python agent-memoryaiai-governanceai-infrastructureartificial-intelligencecontext-engineeringcontext-graphsdata-engineeringdecision-intelligencedeveloper-toolsexplainable-aigenerative-aigraph-ragknowledge-graphllmontologyprovenancepythonreasoningsemantic-search
test(explorer): guard the deterministic-rendering e2e module on fastapi
dex0shubham47446ebdde7d
diff --git a/tests/explorer/test_explorer_deterministic_rendering_e2e.py b/tests/explorer/test_explorer_deterministic_rendering_e2e.pyindex b4b99c3c..83bb2837 100644--- a/tests/explorer/test_explorer_deterministic_rendering_e2e.py+++ b/tests/explorer/test_explorer_deterministic_rendering_e2e.py@@ -15,9 +15,14 @@ from pathlib import Pathimport pytest-from semantica.context.context_graph import ContextGraph-from semantica.explorer.app import create_app-from semantica.explorer.session import GraphSession+# fastapi ships in the optional `explorer` extra, not in `dev`, so this module+# must skip rather than fail collection when it is absent. The guard has to sit+# above the explorer imports below, which pull fastapi in transitively.+pytest.importorskip("fastapi")++from semantica.context.context_graph import ContextGraph # noqa: E402+from semantica.explorer.app import create_app # noqa: E402+from semantica.explorer.session import GraphSession # noqa: E402try:from starlette.testclient import TestClient