Skip to content

Commit

Permalink
Fixed typos from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Petru Lauric <[email protected]>
  • Loading branch information
hicklin and plauric authored Feb 5, 2024
1 parent 96b9a8c commit eed8b06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/python_testing/TC_RVCCLEANM_2_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ async def read_mod_attribute_expect_success(self, endpoint, attribute):
async def send_clean_change_to_mode_cmd(self, newMode) -> Clusters.Objects.RvcCleanMode.Commands.ChangeToModeResponse:
ret = await self.send_single_cmd(cmd=Clusters.Objects.RvcCleanMode.Commands.ChangeToMode(newMode=newMode), endpoint=self.endpoint)
asserts.assert_true(type_matches(ret, Clusters.Objects.RvcCleanMode.Commands.ChangeToModeResponse),
"Unexpected return type for ChangeToMode")
"Unexpected return type for RVC Clean Mode ChangeToMode")
return ret

async def send_run_change_to_mode_cmd(self, newMode) -> Clusters.Objects.RvcRunMode.Commands.ChangeToModeResponse:
Expand Down Expand Up @@ -81,7 +81,7 @@ async def test_TC_RVCCLEANM_2_1(self):
if self.is_ci:
app_pid = self.matter_test_config.app_pid
if app_pid == 0:
asserts.fail("The --app-pid flag must be set when PICS_SDK_CI_ONLY is set.c")
asserts.fail("The --app-pid flag must be set when PICS_SDK_CI_ONLY is set")
self.app_pipe = self.app_pipe + str(app_pid)

asserts.assert_true(self.check_pics("RVCCLEANM.S.A0000"), "RVCCLEANM.S.A0000 must be supported")
Expand Down Expand Up @@ -167,7 +167,7 @@ class CommonCodes(Enum):

self.print_step(9, "Manually put the device in a state from which it will SUCCESSFULLY transition to mode %d" % (self.mode_ok))
if self.is_ci:
print("Changing mode to Idel")
print("Changing mode to Idle")
await self.send_run_change_to_mode_cmd(0)
else:
input("Press Enter when done.\n")
Expand Down
2 changes: 1 addition & 1 deletion src/python_testing/TC_RVCOPSTATE_2_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ async def test_TC_RVCOPSTATE_2_1(self):
if self.is_ci:
app_pid = self.matter_test_config.app_pid
if app_pid == 0:
asserts.fail("The --app-pid flag must be set when PICS_SDK_CI_ONLY is set.c")
asserts.fail("The --app-pid flag must be set when PICS_SDK_CI_ONLY is set")
self.app_pipe = self.app_pipe + str(app_pid)

attributes = Clusters.RvcOperationalState.Attributes
Expand Down

0 comments on commit eed8b06

Please sign in to comment.