Skip to content

Commit 81983c8

Browse files
committedSep 12, 2024
Added missing "is_commissioning=True" to step 1 in all DEM, EEVSE and EWATERHTR test cases.
1 parent d04a667 commit 81983c8

16 files changed

+32
-16
lines changed
 

‎src/python_testing/TC_DEM_2_10.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ def pics_TC_DEM_2_10(self):
6161
def steps_TC_DEM_2_10(self) -> list[TestStep]:
6262
"""Execute the test steps."""
6363
steps = [
64-
TestStep("1", "Commission DUT to TH (can be skipped if done in a preceding test)"),
64+
TestStep("1", "Commission DUT to TH (can be skipped if done in a preceding test)",
65+
is_commissioning=True),
6566
TestStep("2", "TH reads from the DUT the FeatureMap",
6667
"Verify that the DUT response contains the FeatureMap attribute. Store the value as FeatureMap."),
6768
TestStep("3", "TH reads TestEventTriggersEnabled attribute from General Diagnostics Cluster",

‎src/python_testing/TC_DEM_2_2.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ def pics_TC_DEM_2_2(self):
6161
def steps_TC_DEM_2_2(self) -> list[TestStep]:
6262
"""Execute the test steps."""
6363
steps = [
64-
TestStep("1", "Commission DUT to TH (can be skipped if done in a preceding test)"),
64+
TestStep("1", "Commission DUT to TH (can be skipped if done in a preceding test)",
65+
is_commissioning=True),
6566
TestStep("2", "TH reads from the DUT the _FeatureMap_ attribute",
6667
"Verify that the DUT response contains the _FeatureMap_ attribute. Verify PowerAdjustment is supported."),
6768
TestStep("3", "Set up a subscription to all DeviceEnergyManagement cluster events"),

‎src/python_testing/TC_DEM_2_3.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ def pics_TC_DEM_2_3(self):
5454

5555
def steps_TC_DEM_2_3(self) -> list[TestStep]:
5656
steps = [
57-
TestStep("1", "Commission DUT to TH (can be skipped if done in a preceding test)"),
57+
TestStep("1", "Commission DUT to TH (can be skipped if done in a preceding test)",
58+
is_commissioning=True),
5859
TestStep("2", "TH reads from the DUT the _FeatureMap_ attribute",
5960
"Verify that the DUT response contains the _FeatureMap_ attribute. Verify StartTimeAdjustment feature is supported on the cluster. Verify PowerForecastReporting or StateForecastReporting feature is supported on the cluster."),
6061
TestStep("3", "TH reads TestEventTriggersEnabled attribute from General Diagnostics Cluster",

‎src/python_testing/TC_DEM_2_4.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ def pics_TC_DEM_2_4(self):
5555

5656
def steps_TC_DEM_2_4(self) -> list[TestStep]:
5757
steps = [
58-
TestStep("1", "Commission DUT to TH (can be skipped if done in a preceding test)"),
58+
TestStep("1", "Commission DUT to TH (can be skipped if done in a preceding test)",
59+
is_commissioning=True),
5960
TestStep("2", "TH reads from the DUT the _FeatureMap_ attribute",
6061
"Verify that the DUT response contains the _FeatureMap_ attribute. Verify Pausable feature is supported on the cluster. Verify PowerForecastReporting or StateForecastReporting feature is supported on the cluster."),
6162
TestStep("3", "Set up a subscription to all DeviceEnergyManagement cluster events"),

‎src/python_testing/TC_DEM_2_5.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ def pics_TC_DEM_2_5(self):
5959
def steps_TC_DEM_2_5(self) -> list[TestStep]:
6060
"""Execute the test steps."""
6161
steps = [
62-
TestStep("1", "Commission DUT to TH (can be skipped if done in a preceding test)"),
62+
TestStep("1", "Commission DUT to TH (can be skipped if done in a preceding test)",
63+
is_commissioning=True),
6364
TestStep("2", "TH reads from the DUT the _FeatureMap_ attribute",
6465
"Verify that the DUT response contains the _FeatureMap_ attribute. Verify ForecastAdjustment feature is supported on the cluster. Verify PowerForecastReporting feature is supported on the cluster. Verify StateForecastReporting feature is not supported on the cluster."),
6566
TestStep("3", "TH reads TestEventTriggersEnabled attribute from General Diagnostics Cluster",

‎src/python_testing/TC_DEM_2_6.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ def pics_TC_DEM_2_6(self):
5959
def steps_TC_DEM_2_6(self) -> list[TestStep]:
6060
"""Execute the test steps."""
6161
steps = [
62-
TestStep("1", "Commission DUT to TH (can be skipped if done in a preceding test)"),
62+
TestStep("1", "Commission DUT to TH (can be skipped if done in a preceding test)",
63+
is_commissioning=True),
6364
TestStep("2", "TH reads from the DUT the _FeatureMap_ attribute",
6465
"Verify that the DUT response contains the _FeatureMap_ attribute. Verify ForecastAdjustment feature is supported on the cluster. Verify StateForecastReporting feature is supported on the cluster. Verify PowerForecastReporting feature is not supported on the cluster."),
6566
TestStep("3", "TH reads TestEventTriggersEnabled attribute from General Diagnostics Cluster",

‎src/python_testing/TC_DEM_2_7.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ def pics_TC_DEM_2_7(self):
5959
def steps_TC_DEM_2_7(self) -> list[TestStep]:
6060
"""Execute the test steps."""
6161
steps = [
62-
TestStep("1", "Commission DUT to TH (can be skipped if done in a preceding test)"),
62+
TestStep("1", "Commission DUT to TH (can be skipped if done in a preceding test)",
63+
is_commissioning=True),
6364
TestStep("2", "TH reads from the DUT the _FeatureMap_ attribute",
6465
"Verify that the DUT response contains the _FeatureMap_ attribute. Verify ConstraintBasedAdjustment feature is supported on the cluster. Verify PowerForecastReporting feature is supported on the cluster. Verify StateForecastReporting feature is not supported on the cluster."),
6566
TestStep("3", "TH reads TestEventTriggersEnabled attribute from General Diagnostics Cluster",

‎src/python_testing/TC_DEM_2_8.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ def pics_TC_DEM_2_8(self):
5959
def steps_TC_DEM_2_8(self) -> list[TestStep]:
6060
"""Execute the test steps."""
6161
steps = [
62-
TestStep("1", "Commission DUT to TH (can be skipped if done in a preceding test)"),
62+
TestStep("1", "Commission DUT to TH (can be skipped if done in a preceding test)",
63+
is_commissioning=True),
6364
TestStep("2", "TH reads from the DUT the _FeatureMap_ attribute",
6465
"Verify that the DUT response contains the _FeatureMap_ attribute. Verify ConstraintBasedAdjustment feature is supported on the cluster. Verify StateForecastReporting feature is supported on the cluster. Verify PowerForecastReporting feature is not supported on the cluster."),
6566
TestStep("3", "TH reads TestEventTriggersEnabled attribute from General Diagnostics Cluster",

‎src/python_testing/TC_DEM_2_9.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ def pics_TC_DEM_2_9(self):
5858
def steps_TC_DEM_2_9(self) -> list[TestStep]:
5959
"""Execute the test steps."""
6060
steps = [
61-
TestStep("1", "Commission DUT to TH (can be skipped if done in a preceding test)"),
61+
TestStep("1", "Commission DUT to TH (can be skipped if done in a preceding test)",
62+
is_commissioning=True),
6263
TestStep("2", "TH reads from the DUT the _FeatureMap_ attribute",
6364
"Verify that the DUT response contains the _FeatureMap_ attribute. Verify one of PowerForecastReporting or StateForecastReporting is supported but not both."),
6465
TestStep("3", "TH reads TestEventTriggersEnabled attribute from General Diagnostics Cluster",

‎src/python_testing/TC_EEVSE_2_2.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ def pics_TC_EEVSE_2_2(self):
5252

5353
def steps_TC_EEVSE_2_2(self) -> list[TestStep]:
5454
steps = [
55-
TestStep("1", "Commission DUT to TH (can be skipped if done in a preceding test)"),
55+
TestStep("1", "Commission DUT to TH (can be skipped if done in a preceding test)",
56+
is_commissioning=True),
5657
TestStep("2", "TH reads TestEventTriggersEnabled attribute from General Diagnostics Cluster",
5758
"Value has to be 1 (True)"),
5859
TestStep("3", "TH sends TestEventTrigger command to General Diagnostics Cluster on Endpoint 0 with EnableKey field set to PIXIT.EEVSE.TESTEVENT_TRIGGERKEY and EventTrigger field set to PIXIT.EEVSE.TESTEVENTTRIGGER for Basic Functionality Test Event",

‎src/python_testing/TC_EEVSE_2_4.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ def pics_TC_EEVSE_2_4(self):
5050

5151
def steps_TC_EEVSE_2_4(self) -> list[TestStep]:
5252
steps = [
53-
TestStep("1", "Commission DUT to TH (can be skipped if done in a preceding test)"),
53+
TestStep("1", "Commission DUT to TH (can be skipped if done in a preceding test)",
54+
is_commissioning=True),
5455
TestStep("2", "TH reads TestEventTriggersEnabled attribute from General Diagnostics Cluster",
5556
"Value has to be 1 (True)"),
5657
TestStep("3", "TH sends TestEventTrigger command to General Diagnostics Cluster on Endpoint 0 with EnableKey field set to PIXIT.EEVSE.TESTEVENT_TRIGGERKEY and EventTrigger field set to PIXIT.EEVSE.TESTEVENTTRIGGER for Basic Functionality Test Event",

‎src/python_testing/TC_EEVSE_2_5.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ def pics_TC_EEVSE_2_5(self):
5050

5151
def steps_TC_EEVSE_2_5(self) -> list[TestStep]:
5252
steps = [
53-
TestStep("1", "Commission DUT to TH (can be skipped if done in a preceding test)"),
53+
TestStep("1", "Commission DUT to TH (can be skipped if done in a preceding test)",
54+
is_commissioning=True),
5455
TestStep("2", "TH reads TestEventTriggersEnabled attribute from General Diagnostics Cluster",
5556
"Value has to be 1 (True)"),
5657
TestStep("3", "TH sends TestEventTrigger command to General Diagnostics Cluster on Endpoint 0 with EnableKey field set to PIXIT.EEVSE.TESTEVENT_TRIGGERKEY and EventTrigger field set to PIXIT.EEVSE.TESTEVENTTRIGGER for Basic Functionality Test Event",

‎src/python_testing/TC_EEVSE_2_6.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ def pics_TC_EEVSE_2_6(self):
5252

5353
def steps_TC_EEVSE_2_6(self) -> list[TestStep]:
5454
steps = [
55-
TestStep("1", "Commission DUT to TH (can be skipped if done in a preceding test)"),
55+
TestStep("1", "Commission DUT to TH (can be skipped if done in a preceding test)",
56+
is_commissioning=True),
5657
TestStep("2", "TH reads from the DUT the FeatureMap",
5758
"Verify that the DUT response contains the FeatureMap attribute. Store the value as FeatureMap."),
5859
TestStep("3", "Set up a subscription to all EnergyEVSE cluster events"),

‎src/python_testing/TC_EWATERHTR_2_1.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ def pics_TC_EWATERHTR_2_1(self):
5050

5151
def steps_TC_EWATERHTR_2_1(self) -> list[TestStep]:
5252
steps = [
53-
TestStep("1", "Commission DUT to TH (can be skipped if done in a preceding test)."),
53+
TestStep("1", "Commission DUT to TH (can be skipped if done in a preceding test).",
54+
is_commissioning=True),
5455
TestStep("2", "TH reads from the DUT the FeatureMap attribute.",
5556
"Verify that the DUT response contains the FeatureMap attribute. Store the value as FeatureMap."),
5657
TestStep("3", "TH reads from the DUT the HeaterTypes attribute.",

‎src/python_testing/TC_EWATERHTR_2_2.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ def pics_TC_EWATERHTR_2_2(self):
5252

5353
def steps_TC_EWATERHTR_2_2(self) -> list[TestStep]:
5454
steps = [
55-
TestStep("1", "Commission DUT to TH (can be skipped if done in a preceding test)"),
55+
TestStep("1", "Commission DUT to TH (can be skipped if done in a preceding test)",
56+
is_commissioning=True),
5657
TestStep("2", "Set up a subscription to all WaterHeaterManagement cluster events"),
5758
TestStep("3", "TH reads TestEventTriggersEnabled attribute from General Diagnostics Cluster",
5859
"Value has to be 1 (True)"),

‎src/python_testing/TC_EWATERHTR_2_3.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ def pics_TC_EWATERHTR_2_3(self):
4949

5050
def steps_TC_EWATERHTR_2_3(self) -> list[TestStep]:
5151
steps = [
52-
TestStep("1", "Commission DUT to TH (can be skipped if done in a preceding test)"),
52+
TestStep("1", "Commission DUT to TH (can be skipped if done in a preceding test)",
53+
is_commissioning=True),
5354
TestStep("2", "Set up a subscription to all WaterHeaterManagement cluster events"),
5455
TestStep("3", "TH reads TestEventTriggersEnabled attribute from General Diagnostics Cluster",
5556
"Value has to be 1 (True)"),

0 commit comments

Comments
 (0)