From 172d9bc9daab1115c6a7effb10e3a9f614183026 Mon Sep 17 00:00:00 2001 From: Alkid Date: Tue, 26 Nov 2024 15:21:41 +0100 Subject: [PATCH] updated test --- tests/test_owlapy_command.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_owlapy_command.py b/tests/test_owlapy_command.py index 88387b16..6daa76b4 100644 --- a/tests/test_owlapy_command.py +++ b/tests/test_owlapy_command.py @@ -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')), @@ -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')),