From eed8b06158d4845f50e758833ec62e510c8ea2b9 Mon Sep 17 00:00:00 2001 From: William Date: Mon, 5 Feb 2024 17:09:23 +0000 Subject: [PATCH] Fixed typos from code review Co-authored-by: Petru Lauric <81822411+plauric@users.noreply.github.com> --- src/python_testing/TC_RVCCLEANM_2_1.py | 6 +++--- src/python_testing/TC_RVCOPSTATE_2_1.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/python_testing/TC_RVCCLEANM_2_1.py b/src/python_testing/TC_RVCCLEANM_2_1.py index 5279067589e5fe..1a4bb5fa8b9d5e 100644 --- a/src/python_testing/TC_RVCCLEANM_2_1.py +++ b/src/python_testing/TC_RVCCLEANM_2_1.py @@ -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: @@ -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") @@ -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") diff --git a/src/python_testing/TC_RVCOPSTATE_2_1.py b/src/python_testing/TC_RVCOPSTATE_2_1.py index bbf6853e67a987..6d7c5622275aaf 100644 --- a/src/python_testing/TC_RVCOPSTATE_2_1.py +++ b/src/python_testing/TC_RVCOPSTATE_2_1.py @@ -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