Skip to content

Commit

Permalink
Check error code on TestMultiFabric (project-chip#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
2 people authored and andrei-menzopol committed Apr 14, 2022
1 parent 7ef3220 commit fe841df
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 fe841df

Please sign in to comment.