We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cf0967 commit 8fe7461Copy full SHA for 8fe7461
tests/case_utils/case_file/test_case_file.py
@@ -18,6 +18,8 @@
18
import pytest
19
import rdflib.plugins.sparql # type: ignore
20
21
+import case_utils.ontology
22
+
23
_logger = logging.getLogger(os.path.basename(__file__))
24
25
IRI_UCO_CORE = "https://unifiedcyberontology.org/ontology/uco/core#"
@@ -42,6 +44,8 @@ def load_graph(
42
44
) -> rdflib.Graph:
43
45
in_graph = rdflib.Graph()
46
in_graph.parse(filename)
47
+ # The queries in this test rely on the subclass hierarchy. Load it.
48
+ case_utils.ontology.load_subclass_hierarchy(in_graph)
49
return in_graph
50
51
@pytest.fixture
0 commit comments