Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update TC_CADMIN_1_22_24.py
Browse files Browse the repository at this point in the history
-Updating to changing static value to being stored in variable for easier readability as Terrence has suggested, making the code easier to read.
j-ororke committed Nov 8, 2024
1 parent 7b9ea43 commit 1900750
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
@@ -164,7 +164,8 @@ async def test_TC_CADMIN_1_24(self):
# Since we provided 179 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)

0 comments on commit 1900750

Please sign in to comment.