Skip to content

Commit 64f79f6

Browse files
committed
fix test_scripts
1 parent 7d880ce commit 64f79f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/controller/python/test/test_scripts/commissioning_test.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ async def main():
147147
TestFail("Must provide device address or setup payload to commissioning the device")
148148

149149
logger.info("Testing on off cluster")
150-
FailIfNot(asyncio.run(test.TestOnOffCluster(nodeid=options.nodeid,
151-
endpoint=LIGHTING_ENDPOINT_ID)), "Failed to test on off cluster")
150+
FailIfNot(await test.TestOnOffCluster(nodeid=options.nodeid,
151+
endpoint=LIGHTING_ENDPOINT_ID)), "Failed to test on off cluster")
152152

153153
FailIfNot(test.TestUsedTestCommissioner(),
154154
"Test commissioner check failed")

0 commit comments

Comments
 (0)