diff --git a/test/unittests/commands/xmlupload/models/test_namespace_context.py b/test/unittests/commands/xmlupload/models/test_namespace_context.py index a1ab14fa9..5e6df9f6b 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.serialise() == expected + assert context.serialise() == {"@context": 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.serialise() == expected + assert context.serialise() == {"@context": expected} if __name__ == "__main__":