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
TC-LUNIT-3.1: Update test to be backwards compatible for 1.4.1 and earlier devices (#39225)
* TC-LUNIT-3.1: Update test to be backwards compatible for 1.4.1 and earlier devices
* Fix some of the steps text
* remove unused import
* Update src/python_testing/TC_LUNIT_3_1.py
TestStep(0, "Commission DUT if required", is_commissioning=True),
70
68
TestStep(1, "TH reads from the DUT the TemperatureUnit attribute"),
71
-
TestStep(2, "TH reads from the DUT the SupportedTemperatureUnits attribute"),
72
-
TestStep(3, "With each entry in SupportedUnitsList, TH writes to the DUT the TemperatureUnit attribute"),
73
-
TestStep(4, "Construct a list with valid TempUnitEnum values that are not contained in SupportedUnitsList"),
74
-
TestStep(5, "With each entry in UnsupportedUnitsList, TH writes to the DUT the TemperatureUnit attribute")
69
+
TestStep(2, "If supported, TH reads from the DUT the SupportedTemperatureUnits attribute",
70
+
"Verify the list length is between 2 and 3 inclusive.\nVerify that each entry in the list is a valid\nTempUnitEnum value and is unique."),
71
+
TestStep(3, "If the SupportedTemperatureUnits is supported, TH creates a `supported` list With each entry in SupportedUnitsList. If SupportedTemperatureUnits is not supported, TH creates a `supported` list with Celsius and Fahrenheit. TH writes each entry in the `supported` list to the DUT the TemperatureUnit attribute", "Write is successful"),
72
+
TestStep(4, "If the SupportedTemperatureUnits is supported, TH construct a list with valid TempUnitEnum values that are not contained in SupportedUnitsList"),
73
+
TestStep(5, "if the SupportedTemperatureUnits is supported, With each entry in UnsupportedUnitsList, TH writes to the DUT the TemperatureUnit attribute",
74
+
"Write returns CONSTRAINT_ERROR"),
75
+
TestStep(6, "If SupportedTemperatureUnits is not supported, TH writes Kelvin",
76
+
"Write either returns SUCCESS or CONSTRAINT_ERROR")
0 commit comments