Skip to content

Commit 02c6d80

Browse files
committed
Updating test_metadata:
- Added TestSpecParsingNamespace.py as it is a unit test and not run against an app.
1 parent 033cad4 commit 02c6d80

File tree

2 files changed

+3
-17
lines changed

2 files changed

+3
-17
lines changed

src/python_testing/matter_testing_infrastructure/chip/testing/spec_parsing.py

+1-17
Original file line numberDiff line numberDiff line change
@@ -141,24 +141,8 @@ def __str__(self):
141141
return f'{self.name}: {str(self.conformance)}'
142142

143143
"""
144-
Location, XML namespaces, and XML Tags implementation below this line
144+
XML namespaces and XML Tags dataclass implementation below this line
145145
"""
146-
'''
147-
@dataclass
148-
class Location:
149-
"""Represents a location in a source file for error reporting"""
150-
def __init__(self, file: str = "", line: int = 0):
151-
self.file = file
152-
self.line = line
153-
154-
def __str__(self):
155-
if self.file and self.line:
156-
return f"{self.file}:{self.line}"
157-
elif self.file:
158-
return self.file
159-
return ""
160-
'''
161-
162146
@dataclass
163147
class XmlNamespace:
164148
"""Represents a namespace definition from XML"""

src/python_testing/test_metadata.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ not_automated:
5353
reason: Unit test - does not run against an app
5454
- name: TestSpecParsingDeviceType.py
5555
reason: Unit test - does not run against an app
56+
- name: TestSpecParsingNamespace.py
57+
reason: Unit test - does not run against an app
5658
- name: TestConformanceTest.py
5759
reason: Unit test - does not run against an app
5860
- name: TestSpecParsingSelection.py

0 commit comments

Comments
 (0)