Skip to content

Commit 2c9e5c2

Browse files
committed
Updating TC_MOD_1_2 test module:
- Readding missing test step identifiers
1 parent d1f33b3 commit 2c9e5c2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/python_testing/TC_MOD_1_2.py

+3
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ async def test_TC_MOD_1_2(self):
6969
mode_options = await self.read_single_attribute(dev_ctrl=self.th1, node_id=self.dut_node_id, endpoint=self.endpoint, attribute=attributes.SupportedModes)
7070
modes = [option.mode for option in mode_options]
7171

72+
self.step(2)
7273
Current_Mode_ID = await self.read_single_attribute(dev_ctrl=self.th1, node_id=self.dut_node_id, endpoint=self.endpoint, attribute=attributes.CurrentMode)
7374
asserts.assert_in(Current_Mode_ID, modes, "Current Mode ID should have been in supported modes")
7475

@@ -86,9 +87,11 @@ async def test_TC_MOD_1_2(self):
8687
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)
8788
asserts.assert_in(Start_Up_Mode_ID, modes, "Current Mode ID should have been in supported modes")
8889

90+
self.step(5)
8991
Description = await self.read_single_attribute(dev_ctrl=self.th1, node_id=self.dut_node_id, endpoint=self.endpoint, attribute=attributes.Description)
9092
assert isinstance(Description, str), "Description was not a human readable string"
9193

94+
self.step(6)
9295
# Currently appears to return a 0 by default, need to check on this to make sure it is acceptable
9396
# Ref Link: https://github.com/CHIP-Specifications/connectedhomeip-spec/blob/06c4d55962954546ecf093c221fe1dab57645028/src/app_clusters/ModeSelect.adoc#62-standardnamespace-attribute
9497
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

Comments
 (0)