From 4c1f585760ec616c36e45b8bfa933e7ad1883140 Mon Sep 17 00:00:00 2001 From: Cecille Freeman Date: Fri, 19 Jul 2024 22:34:21 -0400 Subject: [PATCH] linter --- src/python_testing/TC_DeviceConformance.py | 1 - src/python_testing/TestSpecParsingDeviceType.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/python_testing/TC_DeviceConformance.py b/src/python_testing/TC_DeviceConformance.py index 662aeeda274671..92890aa3086f19 100644 --- a/src/python_testing/TC_DeviceConformance.py +++ b/src/python_testing/TC_DeviceConformance.py @@ -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, "")) diff --git a/src/python_testing/TestSpecParsingDeviceType.py b/src/python_testing/TestSpecParsingDeviceType.py index 59793817a5c5d2..7729ccee8af24d 100644 --- a/src/python_testing/TestSpecParsingDeviceType.py +++ b/src/python_testing/TestSpecParsingDeviceType.py @@ -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: