Skip to content

Commit

Permalink
updated test
Browse files Browse the repository at this point in the history
  • Loading branch information
alkidbaci committed Nov 26, 2024
1 parent 03a390b commit 172d9bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_owlapy_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def test_owlapy_entry_point(self):
onto = SyncOntologyManager().load_ontology("inferred_axioms_ontology.owl")

ops = onto.object_properties_in_signature()
self.assertEqual(list(ops), [OWLObjectProperty(IRI('http://www.benchmark.org/family#', 'hasChild')),
self.assertCountEqual(list(ops), [OWLObjectProperty(IRI('http://www.benchmark.org/family#', 'hasChild')),
OWLObjectProperty(IRI('http://www.benchmark.org/family#', 'hasParent')),
OWLObjectProperty(IRI('http://www.benchmark.org/family#', 'hasSibling')),
OWLObjectProperty(IRI('http://www.benchmark.org/family#', 'married')),
Expand All @@ -49,7 +49,7 @@ def test_owlapy_entry_point(self):
'topObjectProperty')), []))

classes = onto.classes_in_signature()
self.assertEqual(list(classes), [OWLClass(IRI('http://www.benchmark.org/family#', 'Brother')),
self.assertCountEqual(list(classes), [OWLClass(IRI('http://www.benchmark.org/family#', 'Brother')),
OWLClass(IRI('http://www.benchmark.org/family#', 'Child')),
OWLClass(IRI('http://www.benchmark.org/family#', 'Daughter')),
OWLClass(IRI('http://www.benchmark.org/family#', 'Father')),
Expand Down

0 comments on commit 172d9bc

Please sign in to comment.