Skip to content

Commit 353ca21

Browse files
committed
More linting issues fixed
1 parent cbfc258 commit 353ca21

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/python_testing/TC_IDM_2_2.py

-4
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ async def test_TC_IDM_2_2(self):
6060
read_request_1 = await self.default_controller.ReadAttribute(self.dut_node_id, node_label_attr_path) # [(0, Clusters.BasicInformation.Attributes.NodeLabel)]
6161
attributes = read_request_1[0]
6262
basic_information = attributes[basic_info_attr]
63-
data_version = basic_information[data_version_attr]
6463

6564
asserts.assert_in(node_label_attr, basic_information, "NodeLabel not in BasicInformation")
6665
asserts.assert_in(data_version_attr, basic_information, "DataVersion not in BasicInformation")
@@ -74,7 +73,6 @@ async def test_TC_IDM_2_2(self):
7473
read_request_2 = await self.default_controller.ReadAttribute(self.dut_node_id, node_label_attr_all_path) # [(0, Clusters.BasicInformation)]
7574
attributes = read_request_2[0]
7675
basic_information = attributes[basic_info_attr]
77-
data_version = basic_information[data_version_attr]
7876
asserts.assert_in(node_label_attr, basic_information, "NodeLabel not in BasicInformation")
7977
asserts.assert_in(data_version_attr, basic_information, "DataVersion not in BasicInformation")
8078
# The output from this command gets many more values from basic_info_attr compared to the first test -- get attribute list, expand test if needed
@@ -105,7 +103,6 @@ async def test_TC_IDM_2_2(self):
105103
read_request_5 = await self.default_controller.ReadAttribute(self.dut_node_id, [()]) # This returns a dataclass key of 1, unlike 0 for the earlier ones
106104
attributes = read_request_5[1]
107105
unit_testing = attributes[unit_testing_attr]
108-
data_version = unit_testing[data_version_attr]
109106

110107
# asserts.assert_in(node_label_attr, unit_testing, "NodeLabel not in UnitTesting")
111108
asserts.assert_in(data_version_attr, unit_testing, "DataVersion not in UnitTesting")
@@ -117,7 +114,6 @@ async def test_TC_IDM_2_2(self):
117114

118115
attributes = read_request_6[0]
119116
basic_information = attributes[basic_info_attr]
120-
data_version = basic_information[data_version_attr]
121117
# asserts.assert_in(node_label_attr, basic_information, "NodeLabel not in BasicInformation")
122118
asserts.assert_in(data_version_attr, basic_information, "DataVersion not in BasicInformation")
123119
asserts.assert_true(basic_information[cluster_revision_attr], 3)

0 commit comments

Comments
 (0)