Skip to content

Commit 323b62c

Browse files
committed
fix steps 5 6
1 parent cd8f6e4 commit 323b62c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/python_testing/TC_CNET_4_1.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -115,13 +115,14 @@ async def test_TC_CNET_4_1(self):
115115
scan_max_time_seconds = await self.read_single_attribute_check_success(
116116
cluster=Clusters.NetworkCommissioning,
117117
attribute=Clusters.NetworkCommissioning.Attributes.ScanMaxTimeSeconds)
118-
matter_asserts.assert_int_in_range(max_networks_count, min_value=1, max_value=255, description="ScanMaxTimeSeconds")
118+
matter_asserts.assert_int_in_range(scan_max_time_seconds, min_value=1, max_value=255, description="ScanMaxTimeSeconds")
119119

120120
self.step(6)
121-
scan_max_time_seconds = await self.read_single_attribute_check_success(
121+
connect_max_time_seconds = await self.read_single_attribute_check_success(
122122
cluster=Clusters.NetworkCommissioning,
123123
attribute=Clusters.NetworkCommissioning.Attributes.ConnectMaxTimeSeconds)
124-
matter_asserts.assert_int_in_range(max_networks_count, min_value=1, max_value=255, description="ConnectMaxTimeSeconds")
124+
matter_asserts.assert_int_in_range(connect_max_time_seconds, min_value=1,
125+
max_value=255, description="ConnectMaxTimeSeconds")
125126

126127
self.step(7)
127128
interface_enabled = await self.read_single_attribute_check_success(

0 commit comments

Comments
 (0)