Skip to content

Commit

Permalink
Check error code on TestMultiFabric (#17131)
Browse files Browse the repository at this point in the history
* Check error code on TestMultiFabric

* Restyled by autopep8

Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
cecille and restyled-commits authored Apr 8, 2022
1 parent ecee86b commit 34f57f3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/controller/python/test/test_scripts/mobile-device-test.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,10 @@ def ethernet_commissioning(test: BaseTestHelper, discriminator: int, setup_pin:
nodeid=device_nodeid),
"Failed to finish key exchange")

asyncio.run(test.TestMultiFabric(ip=address,
setuppin=20202021,
nodeid=1))
ok = asyncio.run(test.TestMultiFabric(ip=address,
setuppin=20202021,
nodeid=1))
FailIfNot(ok, "Failed to commission multi-fabric")
#
# The server will crash if we are aborting / closing it too fast.
# Issue: #15987
Expand Down

0 comments on commit 34f57f3

Please sign in to comment.