Skip to content

Commit

Permalink
Update src/python_testing/TC_CADMIN_1_22_24.py
Browse files Browse the repository at this point in the history
- Adding this suggested change from Terrence into the code, as it does make the code much cleaner

Co-authored-by: Terence Hampson <[email protected]>
  • Loading branch information
j-ororke and tehampson committed Nov 8, 2024
1 parent 7a032b9 commit 7b9ea43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/python_testing/TC_CADMIN_1_22_24.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ async def test_TC_CADMIN_1_22(self):
# Since we provided 901 seconds as the timeout duration,
# we should not be able to open comm window as duration is too long.
# we are expected receive Failed to open commissioning window: IM Error 0x00000585: General error: 0x85 (INVALID_COMMAND)
asserts.assert_equal(e.err, 0x00000585,
_INVALID_COMMAND = 0x00000585
asserts.assert_equal(e.err, _INVALID_COMMAND,
"Expected to error as we provided failure value for opening commissioning window")

self.step(6)
Expand Down

0 comments on commit 7b9ea43

Please sign in to comment.