Skip to content

Commit fc6025b

Browse files
committed
define all test steps
1 parent d0c663d commit fc6025b

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

src/python_testing/TC_CNET_4_1.py

+11-5
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,20 @@ def steps_TC_CNET_4_1(self) -> list[TestStep]:
6161
The connected field is of type bool \n\
6262
Verify that only one entry has connected status as TRUE \n\
6363
Verify that the number of entries in the Networks attribute is less than or equal to 'MaxNetworksValue'"),
64-
TestStep(5, "TH reads InterfaceEnabled attribute from the DUT", "Verify that InterfaceEnabled attribute value is true"),
65-
TestStep(6, "TH reads LastNetworkingStatus attribute from the DUT",
64+
TestStep(5, "TH reads ScanMaxTimeSeconds attribute from the DUT",
65+
"Verify that ScanMaxTimeSeconds attribute value is within the range of 1 to 255 seconds"),
66+
TestStep(6, "TH reads ConnectMaxTimeSeconds Attribute from the DUT",
67+
"Verify that ConnectMaxTimeSeconds attribute value is within the range of 1 to 255 seconds"),
68+
TestStep(7, "TH reads InterfaceEnabled attribute from the DUT", "Verify that InterfaceEnabled attribute value is true"),
69+
TestStep(8, "TH reads LastNetworkingStatus attribute from the DUT",
6670
"LastNetworkingStatus attribute value will be within any one of the following values \
6771
Success, NetworkNotFound, OutOfRange, RegulatoryError, UnknownError, null"),
68-
TestStep(7, "TH reads the LastNetworkID attribute from the DUT",
72+
TestStep(9, "TH reads the LastNetworkID attribute from the DUT",
6973
"Verify that LastNetworkID attribute matches the NetworkID value of one of the entries in the Networks attribute list"),
70-
TestStep(8, "TH reads the LastConnectErrorValue attribute from the DUT",
71-
"Verify that LastConnectErrorValue attribute value is null")
74+
TestStep(10, "TH reads the LastConnectErrorValue attribute from the DUT",
75+
"Verify that LastConnectErrorValue attribute value is null"),
76+
TestStep(11, "TH reads the SupportedWiFiBands attribute from the DUT",
77+
"Verify that SupportedWiFiBands attribute value has 1 or more entries, all of which are in the range of WiFiBandEnum.")
7278
]
7379
return steps
7480

0 commit comments

Comments
 (0)