Skip to content

Commit 8e3a1e7

Browse files
committed
fix tests for new feature
1 parent 2126cc9 commit 8e3a1e7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

python/test.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,7 @@ def test_get_dependencies_graph(self):
274274
brick_ontology_uri = URIRef(self.brick_name)
275275
g.add((brick_ontology_uri, RDF.type, OWL.Ontology))
276276
# add an import to be resolved
277-
qudt_uri = "http://qudt.org/2.1/schema/qudt"
278-
g.add((brick_ontology_uri, OWL.imports, URIRef(qudt_uri)))
277+
g.add((brick_ontology_uri, OWL.imports, URIRef("http://qudt.org/2.1/vocab/quantitykind")))
279278

280279
num_triples_before = len(g)
281280
deps_g, imported = self.env.get_dependencies_graph(g)
@@ -287,8 +286,8 @@ def test_get_dependencies_graph(self):
287286
# new graph should have content
288287
self.assertGreater(len(deps_g), 0)
289288
self.assertGreater(len(imported), 0)
290-
self.assertIn(qudt_uri, imported)
291289
self.assertIn("http://qudt.org/2.1/vocab/quantitykind", imported)
290+
self.assertIn("http://qudt.org/2.1/vocab/dimensionvector", imported)
292291

293292
# test with destination graph
294293
dest_g = Graph()

0 commit comments

Comments
 (0)