Skip to content

Commit a669bbf

Browse files
committed
Updated: Removed validations for disallowed attributes (OnMode and StartupMode) based on specs from Test Plan.
1 parent e01fbce commit a669bbf

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

src/python_testing/TC_DISHM_1_2.py

+1-15
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@ def steps_TC_DISHM_1_2(self) -> list[TestStep]:
5757
steps = [
5858
TestStep(1, "Commissioning, already done", is_commissioning=True),
5959
TestStep(2, "TH reads from the DUT the SupportedModes attribute."),
60-
TestStep(3, "TH reads from the DUT the CurrentMode attribute."),
61-
TestStep(4, "TH reads from the DUT the OnMode attribute."),
62-
TestStep(5, "TH reads from the DUT the StartUpMode attribute.")
60+
TestStep(3, "TH reads from the DUT the CurrentMode attribute.")
6361
]
6462
return steps
6563

@@ -92,18 +90,6 @@ async def test_TC_DISHM_1_2(self):
9290
mode = self.cluster.Attributes.CurrentMode
9391
await self.read_and_check_mode(endpoint=endpoint, mode=mode, supported_modes=supported_modes)
9492

95-
self.step(4)
96-
# Verify that the OnMode attribute has a valid value or null.
97-
mode = self.cluster.Attributes.OnMode
98-
await self.read_and_check_mode(endpoint=endpoint, mode=mode,
99-
supported_modes=supported_modes, is_nullable=True)
100-
101-
self.step(5)
102-
# Verify that the StartUpMode has a valid value or null
103-
mode = self.cluster.Attributes.StartUpMode
104-
await self.read_and_check_mode(endpoint=endpoint, mode=mode,
105-
supported_modes=supported_modes, is_nullable=True)
106-
10793

10894
if __name__ == "__main__":
10995
default_matter_test_main()

0 commit comments

Comments
 (0)