Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
cecille committed Jul 20, 2024
1 parent 0e6d6eb commit 4c1f585
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/python_testing/TC_DeviceConformance.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,6 @@ def record_warning(location, problem):
def check_device_type(self, fail_on_extra_clusters: bool = True, allow_provisional: bool = False) -> tuple[bool, list[ProblemNotice]]:
success = True
problems = []
test_name = self.get_test_name()

def record_problem(location, problem, severity):
problems.append(ProblemNotice("IDM-10.5", location, severity, problem, ""))
Expand Down
2 changes: 1 addition & 1 deletion src/python_testing/TestSpecParsingDeviceType.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def test_ts_extra_cluster(self):
asserts.assert_equal(len(problems), 1, "Did not receive expected warning for extra clusters")
asserts.assert_true(success, "Unexpected failure")

def test_bad_device_type_id(self):
def test_bad_device_type_id_device_type_test(self):
self.create_test([], bad_device_id=True)
success, problems = self.test.check_device_type(fail_on_extra_clusters=True)
if problems:
Expand Down

0 comments on commit 4c1f585

Please sign in to comment.