You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tidy-up of the Energy Management related test cases from 1.3 which now use the 3rd arg of TestStep to split the verification step into a separate string. Helps with readability and PEP8 long line warnings. (project-chip#34243)
TestStep("2", "TH reads TestEventTriggersEnabled attribute from General Diagnostics Cluster. Verify that TestEventTriggersEnabled attribute has a value of 1 (True)"),
43
+
TestStep("1", "Commissioning, already done",
44
+
is_commissioning=True),
45
+
TestStep("2", "TH reads TestEventTriggersEnabled attribute from General Diagnostics Cluster",
46
+
"Verify that TestEventTriggersEnabled attribute has a value of 1 (True)"),
45
47
TestStep("3", "TH sends TestEventTrigger command to General Diagnostics Cluster on Endpoint 0 with EnableKey field set to PIXIT.EEM.TEST_EVENT_TRIGGER_KEY and EventTrigger field set to PIXIT.EEM.TEST_EVENT_TRIGGER for Start Fake Load Test 1kW Event"),
46
48
TestStep("4", "Wait 3 seconds"),
47
-
TestStep("4a", "TH reads from the DUT the CumulativeEnergyImported attribute. Verify the read is successful and note the value read."),
49
+
TestStep("4a", "TH reads from the DUT the CumulativeEnergyImported attribute",
50
+
"Verify the read is successful and note the value read."),
48
51
TestStep("5", "Wait 3 seconds"),
49
-
TestStep("5a", "TH reads from the DUT the CumulativeEnergyImported attribute. Verify the read is successful and that the value is greater than the value measured in step 4a."),
52
+
TestStep("5a", "TH reads from the DUT the CumulativeEnergyImported attribute",
53
+
"Verify the read is successful and that the value is greater than the value measured in step 4a."),
50
54
TestStep("6", "TH sends TestEventTrigger command to General Diagnostics Cluster on Endpoint 0 with EnableKey field set to PIXIT.EEM.TEST_EVENT_TRIGGER_KEY and EventTrigger field set to PIXIT.EEM.TEST_EVENT_TRIGGER for Stop Fake Readings Test Event."),
TestStep("2", "TH reads TestEventTriggersEnabled attribute from General Diagnostics Cluster. Verify that TestEventTriggersEnabled attribute has a value of 1 (True)"),
43
+
TestStep("1", "Commissioning, already done",
44
+
is_commissioning=True),
45
+
TestStep("2", "TH reads TestEventTriggersEnabled attribute from General Diagnostics Cluster",
46
+
"Verify that TestEventTriggersEnabled attribute has a value of 1 (True)"),
45
47
TestStep("3", "TH sends TestEventTrigger command to General Diagnostics Cluster on Endpoint 0 with EnableKey field set to PIXIT.EEM.TEST_EVENT_TRIGGER_KEY and EventTrigger field set to PIXIT.EEM.TEST_EVENT_TRIGGER for Start Fake Generator Test 3kW Event"),
46
48
TestStep("4", "Wait 6 seconds"),
47
-
TestStep("4a", "TH reads from the DUT the CumulativeEnergyExported attribute. Verify the read is successful and note the value read."),
49
+
TestStep("4a", "TH reads from the DUT the CumulativeEnergyExported attribute",
50
+
"Verify the read is successful and note the value read."),
48
51
TestStep("5", "Wait 6 seconds"),
49
-
TestStep("5a", "TH reads from the DUT the CumulativeEnergyExported attribute. Verify the read is successful and that the value is greater than the value measured in step 4a."),
52
+
TestStep("5a", "TH reads from the DUT the CumulativeEnergyExported attribute",
53
+
"Verify the read is successful and that the value is greater than the value measured in step 4a."),
50
54
TestStep("6", "TH sends TestEventTrigger command to General Diagnostics Cluster on Endpoint 0 with EnableKey field set to PIXIT.EEM.TEST_EVENT_TRIGGER_KEY and EventTrigger field set to PIXIT.EEM.TEST_EVENT_TRIGGER for Stop Fake Readings Test Event."),
TestStep("2", "TH reads TestEventTriggersEnabled attribute from General Diagnostics Cluster. Verify that TestEventTriggersEnabled attribute has a value of 1 (True)"),
43
+
TestStep("1", "Commissioning, already done",
44
+
is_commissioning=True),
45
+
TestStep("2", "TH reads TestEventTriggersEnabled attribute from General Diagnostics Cluster",
46
+
"Verify that TestEventTriggersEnabled attribute has a value of 1 (True)"),
45
47
TestStep("3", "TH sends TestEventTrigger command to General Diagnostics Cluster on Endpoint 0 with EnableKey field set to PIXIT.EEM.TEST_EVENT_TRIGGER_KEY and EventTrigger field set to PIXIT.EEM.TEST_EVENT_TRIGGER for Start Fake Load Test 1kW Event"),
46
48
TestStep("4", "Wait 3 seconds"),
47
-
TestStep("4a", "TH reads from the DUT the PeriodicEnergyImported attribute. Verify the read is successful and note the value read."),
49
+
TestStep("4a", "TH reads from the DUT the PeriodicEnergyImported attribute",
50
+
"Verify the read is successful and note the value read."),
48
51
TestStep("5", "Wait 3 seconds"),
49
-
TestStep("5a", "TH reads from the DUT the PeriodicEnergyImported attribute. Verify the read is successful and that the value read has to be different from value measure in step 4a."),
52
+
TestStep("5a", "TH reads from the DUT the PeriodicEnergyImported attribute",
53
+
"Verify the read is successful and that the value read has to be different from value measure in step 4a."),
50
54
TestStep("6", "TH sends TestEventTrigger command to General Diagnostics Cluster on Endpoint 0 with EnableKey field set to PIXIT.EEM.TEST_EVENT_TRIGGER_KEY and EventTrigger field set to PIXIT.EEM.TEST_EVENT_TRIGGER for Stop Fake Readings Test Event."),
TestStep("2", "TH reads TestEventTriggersEnabled attribute from General Diagnostics Cluster. Verify that TestEventTriggersEnabled attribute has a value of 1 (True)"),
43
+
TestStep("1", "Commissioning, already done",
44
+
is_commissioning=True),
45
+
TestStep("2", "TH reads TestEventTriggersEnabled attribute from General Diagnostics Cluster",
46
+
"Verify that TestEventTriggersEnabled attribute has a value of 1 (True)"),
45
47
TestStep("3", "TH sends TestEventTrigger command to General Diagnostics Cluster on Endpoint 0 with EnableKey field set to PIXIT.EEM.TEST_EVENT_TRIGGER_KEY and EventTrigger field set to PIXIT.EEM.TEST_EVENT_TRIGGER for Start Fake Generator Test 3kW Event"),
46
48
TestStep("4", "Wait 6 seconds"),
47
-
TestStep("4a", "TH reads from the DUT the PeriodicEnergyExported attribute. Verify the read is successful and note the value read."),
49
+
TestStep("4a", "TH reads from the DUT the PeriodicEnergyExported attribute",
50
+
"Verify the read is successful and note the value read."),
48
51
TestStep("5", "Wait 6 seconds"),
49
-
TestStep("5a", "TH reads from the DUT the PeriodicEnergyExported attribute. Verify the read is successful and that the value read has to be different from value measure in step 4a."),
52
+
TestStep("5a", "TH reads from the DUT the PeriodicEnergyExported attribute",
53
+
"Verify the read is successful and that the value read has to be different from value measure in step 4a."),
50
54
TestStep("6", "TH sends TestEventTrigger command to General Diagnostics Cluster on Endpoint 0 with EnableKey field set to PIXIT.EEM.TEST_EVENT_TRIGGER_KEY and EventTrigger field set to PIXIT.EEM.TEST_EVENT_TRIGGER for Stop Fake Readings Test Event."),
0 commit comments