Skip to content

Commit

Permalink
Fix incorrect PICS in TC_RVCOPSTATE_2_1.py and TC_OPSTATE_2_1.py (#…
Browse files Browse the repository at this point in the history
…29323)

* Fixed incorrect PICS.\nFixes #29321

* Fixing incorrect PICS
  • Loading branch information
mhazley authored and pull[bot] committed Nov 6, 2023
1 parent c3a4729 commit 3996822
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/python_testing/TC_OPSTATE_2_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ async def test_TC_OPSTATE_2_1(self):
self.print_step("7e", "Manually put the device in the unable to complete operation error state")
input("Press Enter when done.\n")
await self.read_and_validate_operror(step="7f", expected_error=Clusters.OperationalState.Enums.ErrorStateEnum.kUnableToCompleteOperation)
if self.check_pics("OPSTATE.S.M.ERR_COMMAND_INVALID_STATE"):
if self.check_pics("OPSTATE.S.M.ERR_COMMAND_INVALID_IN_STATE"):
self.print_step("7g", "Manually put the device in the command invalid error state")
input("Press Enter when done.\n")
await self.read_and_validate_operror(step="7h", expected_error=Clusters.OperationalState.Enums.ErrorStateEnum.kCommandInvalidInState)
Expand Down
4 changes: 2 additions & 2 deletions src/python_testing/TC_RVCOPSTATE_2_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,11 +190,11 @@ async def test_TC_RVCOPSTATE_2_1(self):
self.print_step("7e", "Manually put the device in the unable to complete operation error state")
input("Press Enter when done.\n")
await self.read_and_validate_operror(step="7f", expected_error=Clusters.OperationalState.Enums.ErrorStateEnum.kUnableToCompleteOperation)
if self.check_pics("RVCOPSTATE.S.M.ERR_COMMAND_INVALID_STATE"):
if self.check_pics("RVCOPSTATE.S.M.ERR_COMMAND_INVALID_IN_STATE"):
self.print_step("7g", "Manually put the device in the command invalid error state")
input("Press Enter when done.\n")
await self.read_and_validate_operror(step="7h", expected_error=Clusters.OperationalState.Enums.ErrorStateEnum.kCommandInvalidInState)
if self.check_pics("RVCOPSTATE.S.M.ERR_FAILED_FIND_DOCK"):
if self.check_pics("RVCOPSTATE.S.M.ERR_FAILED_TO_FIND_CHARGING_DOCK"):
self.print_step("7i", "Manually put the device in the failed to find dock error state")
input("Press Enter when done.\n")
await self.read_and_validate_operror(step="7j", expected_error=Clusters.RvcOperationalState.Enums.ErrorStateEnum.kFailedToFindChargingDock)
Expand Down

0 comments on commit 3996822

Please sign in to comment.