diff --git a/tests/Makefile b/tests/Makefile index af381d7..42b96e8 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -39,8 +39,8 @@ all: \ touch $@ .pytest.done.log: \ - $(profile_ttls) \ exemplars.ttl \ + monolithic.ttl \ test_exemplar_coverage.py source $(top_srcdir)/venv/bin/activate \ && pytest \ diff --git a/tests/test_exemplar_coverage.py b/tests/test_exemplar_coverage.py index 733104d..b5388a5 100644 --- a/tests/test_exemplar_coverage.py +++ b/tests/test_exemplar_coverage.py @@ -37,6 +37,7 @@ def test_exemplar_coverage() -> None: """ exemplar_graph = Graph() profile_graph = Graph() + tbox_graph = Graph() combined_graph = Graph() for filepath in (top_srcdir / "ontology").iterdir(): @@ -48,12 +49,15 @@ def test_exemplar_coverage() -> None: profile_graph.parse(filepath) logging.debug("len(profile_graph) = %d.", len(profile_graph)) + monolithic_filepath = srcdir / "monolithic.ttl" + tbox_graph.parse(monolithic_filepath) + exemplar_filepath = srcdir / "exemplars.ttl" logging.debug("Loading exemplars graph %r.", exemplar_filepath) exemplar_graph.parse(exemplar_filepath) logging.debug("len(exemplar_graph) = %d.", len(exemplar_graph)) - combined_graph = exemplar_graph + profile_graph + combined_graph = exemplar_graph + tbox_graph classes_mapped: Set[URIRef] = set() classes_with_exemplars: Set[URIRef] = set()