Skip to content

Commit 6803619

Browse files
committed
steps update
1 parent 10bc21e commit 6803619

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/python_testing/TC_CNET_4_10.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#
1717

1818
import chip.clusters as Clusters
19-
from chip.testing.matter_testing import MatterBaseTest, TestStep, default_matter_test_main, has_feature, run_if_endpoint_matches
19+
from chip.testing.matter_testing import MatterBaseTest, TestStep, default_matter_test_main, has_feature, run_if_endpoint_matches, async_test_body
2020
from mobly import asserts
2121

2222

@@ -52,9 +52,11 @@ def steps_TC_CNET_4_10(self):
5252
TestStep(17, "TH reads Networks attribute from the DUT")
5353
]
5454

55-
@run_if_endpoint_matches(has_feature(Clusters.NetworkCommissioning,
56-
Clusters.NetworkCommissioning.Bitmaps.Feature.kThreadNetworkInterface))
55+
@async_test_body
5756
async def test_TC_CNET_4_10(self):
57+
# Commissioning is already done
58+
self.step("preconditions")
59+
5860
cnet = Clusters.NetworkCommissioning
5961
gen_comm = Clusters.GeneralCommissioning
6062
thread_network_id = "hex:1111111122222222" # From PIXIT.CNET.THREAD_1ST_OPERATIONALDATASET

0 commit comments

Comments
 (0)