diff --git a/src/python_testing/matter_testing_infrastructure/chip/testing/spec_parsing.py b/src/python_testing/matter_testing_infrastructure/chip/testing/spec_parsing.py index 866eda9d492dba..d66b68ca6c317d 100644 --- a/src/python_testing/matter_testing_infrastructure/chip/testing/spec_parsing.py +++ b/src/python_testing/matter_testing_infrastructure/chip/testing/spec_parsing.py @@ -141,24 +141,8 @@ def __str__(self): return f'{self.name}: {str(self.conformance)}' """ -Location, XML namespaces, and XML Tags implementation below this line +XML namespaces and XML Tags dataclass implementation below this line """ -''' -@dataclass -class Location: - """Represents a location in a source file for error reporting""" - def __init__(self, file: str = "", line: int = 0): - self.file = file - self.line = line - - def __str__(self): - if self.file and self.line: - return f"{self.file}:{self.line}" - elif self.file: - return self.file - return "" -''' - @dataclass class XmlNamespace: """Represents a namespace definition from XML""" diff --git a/src/python_testing/test_metadata.yaml b/src/python_testing/test_metadata.yaml index 5bd91ecf542152..06453b35ddf367 100644 --- a/src/python_testing/test_metadata.yaml +++ b/src/python_testing/test_metadata.yaml @@ -53,6 +53,8 @@ not_automated: reason: Unit test - does not run against an app - name: TestSpecParsingDeviceType.py reason: Unit test - does not run against an app + - name: TestSpecParsingNamespace.py + reason: Unit test - does not run against an app - name: TestConformanceTest.py reason: Unit test - does not run against an app - name: TestSpecParsingSelection.py