diff --git a/src/python_testing/TC_RVCCLEANM_2_1.py b/src/python_testing/TC_RVCCLEANM_2_1.py index 688847cc5b3f08..7ec8fd9b9812ec 100644 --- a/src/python_testing/TC_RVCCLEANM_2_1.py +++ b/src/python_testing/TC_RVCCLEANM_2_1.py @@ -84,10 +84,12 @@ async def test_TC_RVCCLEANM_2_1(self): self.endpoint = self.matter_test_config.endpoint self.mode_ok = self.matter_test_config.global_test_params['PIXIT.RVCCLEANM.MODE_CHANGE_OK'] self.mode_fail = self.matter_test_config.global_test_params['PIXIT.RVCCLEANM.MODE_CHANGE_FAIL'] - app_pid = self.matter_test_config.app_pid - if app_pid != 0: - self.is_ci = True - self.app_pipe = self.app_pipe + str(app_pid) + self.is_ci = self.check_pics("PICS_SDK_CI_ONLY") + if self.is_ci: + app_pid = self.matter_test_config.app_pid + if app_pid != 0: + self.is_ci = True + self.app_pipe = self.app_pipe + str(app_pid) RVCClean_cluster = Clusters.RvcCleanMode diff --git a/src/python_testing/TC_RVCCLEANM_2_2.py b/src/python_testing/TC_RVCCLEANM_2_2.py index 1ff909133e3635..02d193978d05e7 100644 --- a/src/python_testing/TC_RVCCLEANM_2_2.py +++ b/src/python_testing/TC_RVCCLEANM_2_2.py @@ -86,10 +86,12 @@ def write_to_app_pipe(self, command): @async_test_body async def test_TC_RVCCLEANM_2_2(self): self.endpoint = self.matter_test_config.endpoint - app_pid = self.matter_test_config.app_pid - if app_pid != 0: - self.is_ci = True - self.app_pipe = self.app_pipe + str(app_pid) + self.is_ci = self.check_pics("PICS_SDK_CI_ONLY") + if self.is_ci: + app_pid = self.matter_test_config.app_pid + if app_pid != 0: + self.is_ci = True + self.app_pipe = self.app_pipe + str(app_pid) # replaces the RVCRUNM attributes from PICS file RVCRun_cluster = Clusters.RvcRunMode diff --git a/src/python_testing/TC_RVCRUNM_2_1.py b/src/python_testing/TC_RVCRUNM_2_1.py index a9561647ea1ac2..e02639f8530e27 100644 --- a/src/python_testing/TC_RVCRUNM_2_1.py +++ b/src/python_testing/TC_RVCRUNM_2_1.py @@ -79,6 +79,12 @@ async def test_TC_RVCRUNM_2_1(self): self.endpoint = self.matter_test_config.endpoint self.mode_ok = self.matter_test_config.global_test_params['PIXIT.RVCRUNM.MODE_CHANGE_OK'] self.mode_fail = self.matter_test_config.global_test_params['PIXIT.RVCRUNM.MODE_CHANGE_FAIL'] + self.is_ci = self.check_pics("PICS_SDK_CI_ONLY") + if self.is_ci: + app_pid = self.matter_test_config.app_pid + if app_pid != 0: + self.is_ci = True + self.app_pipe = self.app_pipe + str(app_pid) RVCRun_cluster = Clusters.RvcRunMode diff --git a/src/python_testing/TC_RVCRUNM_2_2.py b/src/python_testing/TC_RVCRUNM_2_2.py index 7c00c9b63290f7..12f9887e20e33f 100644 --- a/src/python_testing/TC_RVCRUNM_2_2.py +++ b/src/python_testing/TC_RVCRUNM_2_2.py @@ -120,15 +120,12 @@ async def test_TC_RVCRUNM_2_2(self): self.endpoint = self.matter_test_config.endpoint self.mode_a = self.matter_test_config.global_test_params['PIXIT.RVCRUNM.MODE_A'] self.mode_b = self.matter_test_config.global_test_params['PIXIT.RVCRUNM.MODE_B'] - app_pid = self.matter_test_config.app_pid - if app_pid != 0: - self.is_ci = True - self.app_pipe = self.app_pipe + str(app_pid) - - app_pid = self.matter_test_config.app_pid - if app_pid != 0: - self.is_ci = True - self.app_pipe = self.app_pipe + str(app_pid) + self.is_ci = self.check_pics("PICS_SDK_CI_ONLY") + if self.is_ci: + app_pid = self.matter_test_config.app_pid + if app_pid != 0: + self.is_ci = True + self.app_pipe = self.app_pipe + str(app_pid) RVCRun_cluster = Clusters.RvcRunMode