diff --git a/src/python_testing/TestSpecParsingSupport.py b/src/python_testing/TestSpecParsingSupport.py index 2ff80e55244648..44ab8dfff26b2a 100644 --- a/src/python_testing/TestSpecParsingSupport.py +++ b/src/python_testing/TestSpecParsingSupport.py @@ -119,7 +119,7 @@ def get_access_enum_from_string(access_str: str) -> Clusters.AccessControl.Enums ' ' ' ' ' ' - ' ' + ' ' ' ' ' ' ' ' @@ -164,11 +164,11 @@ def get_access_enum_from_string(access_str: str) -> Clusters.AccessControl.Enums ' ' ' ' ' ' - ' ' + ' ' ' ' ' ' ' ' - ' ' + ' ' ' ' ' ' ' ' diff --git a/src/python_testing/spec_parsing_support.py b/src/python_testing/spec_parsing_support.py index 6a9d1f87ae3442..9982b8dff55edd 100644 --- a/src/python_testing/spec_parsing_support.py +++ b/src/python_testing/spec_parsing_support.py @@ -358,7 +358,7 @@ def get_command_type(self, element: ElementTree.Element) -> CommandType: return CommandType.ACCEPTED raise Exception(f"Unknown direction: {element.attrib['direction']}") except KeyError: - return CommandType.ACCEPTED + return CommandType.UNKNOWN def parse_unknown_commands(self) -> list[XmlCommand]: commands = []