@@ -69,6 +69,7 @@ async def test_TC_MOD_1_2(self):
69
69
mode_options = await self .read_single_attribute (dev_ctrl = self .th1 , node_id = self .dut_node_id , endpoint = self .endpoint , attribute = attributes .SupportedModes )
70
70
modes = [option .mode for option in mode_options ]
71
71
72
+ self .step (2 )
72
73
Current_Mode_ID = await self .read_single_attribute (dev_ctrl = self .th1 , node_id = self .dut_node_id , endpoint = self .endpoint , attribute = attributes .CurrentMode )
73
74
asserts .assert_in (Current_Mode_ID , modes , "Current Mode ID should have been in supported modes" )
74
75
@@ -86,9 +87,11 @@ async def test_TC_MOD_1_2(self):
86
87
Start_Up_Mode_ID = await self .read_single_attribute (dev_ctrl = self .th1 , node_id = self .dut_node_id , endpoint = self .endpoint , attribute = attributes .StartUpMode )
87
88
asserts .assert_in (Start_Up_Mode_ID , modes , "Current Mode ID should have been in supported modes" )
88
89
90
+ self .step (5 )
89
91
Description = await self .read_single_attribute (dev_ctrl = self .th1 , node_id = self .dut_node_id , endpoint = self .endpoint , attribute = attributes .Description )
90
92
assert isinstance (Description , str ), "Description was not a human readable string"
91
93
94
+ self .step (6 )
92
95
# Currently appears to return a 0 by default, need to check on this to make sure it is acceptable
93
96
# Ref Link: https://github.com/CHIP-Specifications/connectedhomeip-spec/blob/06c4d55962954546ecf093c221fe1dab57645028/src/app_clusters/ModeSelect.adoc#62-standardnamespace-attribute
94
97
standard_namespace = await self .read_single_attribute (dev_ctrl = self .th1 , node_id = self .dut_node_id , endpoint = self .endpoint , attribute = attributes .StandardNamespace )
0 commit comments