From 7e0eb0b2ba84a5f7fb868d62f91a29e2a066f3c9 Mon Sep 17 00:00:00 2001 From: Nora-Olivia-Ammann <103038637+Nora-Olivia-Ammann@users.noreply.github.com> Date: Fri, 15 Nov 2024 12:26:43 +0100 Subject: [PATCH] Update test_namespace_context.py --- .../commands/xmlupload/models/test_namespace_context.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unittests/commands/xmlupload/models/test_namespace_context.py b/test/unittests/commands/xmlupload/models/test_namespace_context.py index 6eb25b0f86..a1ab14fa96 100644 --- a/test/unittests/commands/xmlupload/models/test_namespace_context.py +++ b/test/unittests/commands/xmlupload/models/test_namespace_context.py @@ -28,7 +28,7 @@ def test_get_json_ld_context_for_project() -> None: "xsd": "http://www.w3.org/2001/XMLSchema#", "testonto": "http://www.knora.org/ontology/testonto#", } - assert context == expected + assert context.serialise() == expected def test_get_json_ld_context_for_project_with_multiple_ontologies() -> None: @@ -48,7 +48,7 @@ def test_get_json_ld_context_for_project_with_multiple_ontologies() -> None: "testonto": "http://www.knora.org/ontology/testonto#", "testonto2": "http://www.knora.org/ontology/testonto2#", } - assert context == expected + assert context.serialise() == expected if __name__ == "__main__":