Skip to content
Snippets Groups Projects
Verified Commit 9a2f4ccf authored by Leon Mauritz Möller's avatar Leon Mauritz Möller
Browse files

test: fix dysfunctional xml deserialization test

parent b93fb0a3
No related tags found
1 merge request!67[WIP] Update to V30RC01
Pipeline #576950 passed
......@@ -203,7 +203,7 @@ class XmlDeserializationTest(unittest.TestCase):
""")
with self.assertLogs(logging.getLogger(), level=logging.WARNING) as context:
read_aas_xml_file(io.BytesIO(xml.encode("utf-8")), failsafe=False)
for s in ("GLOBAL_REFERENCE", "IRI=http://acplt.org/test_ref", "Asset"):
for s in ("GLOBAL_REFERENCE", "IRI=http://acplt.org/test_ref", "AssetAdministrationShell"):
self.assertIn(s, context.output[0])
def test_invalid_submodel_element(self) -> None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment