@@ -60,7 +60,6 @@ async def test_TC_IDM_2_2(self):
60
60
read_request_1 = await self .default_controller .ReadAttribute (self .dut_node_id , node_label_attr_path ) # [(0, Clusters.BasicInformation.Attributes.NodeLabel)]
61
61
attributes = read_request_1 [0 ]
62
62
basic_information = attributes [basic_info_attr ]
63
- data_version = basic_information [data_version_attr ]
64
63
65
64
asserts .assert_in (node_label_attr , basic_information , "NodeLabel not in BasicInformation" )
66
65
asserts .assert_in (data_version_attr , basic_information , "DataVersion not in BasicInformation" )
@@ -74,7 +73,6 @@ async def test_TC_IDM_2_2(self):
74
73
read_request_2 = await self .default_controller .ReadAttribute (self .dut_node_id , node_label_attr_all_path ) # [(0, Clusters.BasicInformation)]
75
74
attributes = read_request_2 [0 ]
76
75
basic_information = attributes [basic_info_attr ]
77
- data_version = basic_information [data_version_attr ]
78
76
asserts .assert_in (node_label_attr , basic_information , "NodeLabel not in BasicInformation" )
79
77
asserts .assert_in (data_version_attr , basic_information , "DataVersion not in BasicInformation" )
80
78
# 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):
105
103
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
106
104
attributes = read_request_5 [1 ]
107
105
unit_testing = attributes [unit_testing_attr ]
108
- data_version = unit_testing [data_version_attr ]
109
106
110
107
# asserts.assert_in(node_label_attr, unit_testing, "NodeLabel not in UnitTesting")
111
108
asserts .assert_in (data_version_attr , unit_testing , "DataVersion not in UnitTesting" )
@@ -117,7 +114,6 @@ async def test_TC_IDM_2_2(self):
117
114
118
115
attributes = read_request_6 [0 ]
119
116
basic_information = attributes [basic_info_attr ]
120
- data_version = basic_information [data_version_attr ]
121
117
# asserts.assert_in(node_label_attr, basic_information, "NodeLabel not in BasicInformation")
122
118
asserts .assert_in (data_version_attr , basic_information , "DataVersion not in BasicInformation" )
123
119
asserts .assert_true (basic_information [cluster_revision_attr ], 3 )
0 commit comments