From 693f0404828dfbf6bbe6c916910b4ceed7595c94 Mon Sep 17 00:00:00 2001 From: Duyen Tran Date: Wed, 2 Aug 2023 15:44:33 -0400 Subject: [PATCH 1/2] fix PIXIT codes to match tp --- src/python_testing/TC_RVCCLEANM_2_1.py | 18 +++++++++--------- src/python_testing/TC_RVCRUNM_2_1.py | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/python_testing/TC_RVCCLEANM_2_1.py b/src/python_testing/TC_RVCCLEANM_2_1.py index e0b699d8373498..5df8a2ee1d3eba 100644 --- a/src/python_testing/TC_RVCCLEANM_2_1.py +++ b/src/python_testing/TC_RVCCLEANM_2_1.py @@ -23,7 +23,7 @@ # This test requires several additional command line arguments # run with -# --int-arg PIXIT_ENDPOINT: PIXIT_MODEOK: PIXIT_MODEFAIL: +# --int-arg PIXIT_ENDPOINT: PIXIT_RVCCLEANM_MODEOK: PIXIT_RVCCLEANM_MODEFAIL: class TC_RVCCLEANM_2_1(MatterBaseTest): @@ -44,16 +44,16 @@ async def test_TC_RVCCLEANM_2_1(self): asserts.assert_true('PIXIT_ENDPOINT' in self.matter_test_config.global_test_params, "PIXIT_ENDPOINT must be included on the command line in " "the --int-arg flag as PIXIT_ENDPOINT:") - asserts.assert_true('PIXIT_MODEOK' in self.matter_test_config.global_test_params, - "PIXIT_MODEOK must be included on the command line in " - "the --int-arg flag as PIXIT_MODEOK:") - asserts.assert_true('PIXIT_MODEFAIL' in self.matter_test_config.global_test_params, - "PIXIT_MODEFAIL must be included on the command line in " - "the --int-arg flag as PIXIT_MODEFAIL:") + asserts.assert_true('PIXIT_RVCCLEANM_MODEOK' in self.matter_test_config.global_test_params, + "PIXIT_RVCCLEANM_MODEOK must be included on the command line in " + "the --int-arg flag as PIXIT_RVCCLEANM_MODEOK:") + asserts.assert_true('PIXIT_RVCCLEANM_MODEFAIL' in self.matter_test_config.global_test_params, + "PIXIT_RVCCLEANM_MODEFAIL must be included on the command line in " + "the --int-arg flag as PIXIT_RVCCLEANM_MODEFAIL:") self.endpoint = self.matter_test_config.global_test_params['PIXIT_ENDPOINT'] - self.modeok = self.matter_test_config.global_test_params['PIXIT_MODEOK'] - self.modefail = self.matter_test_config.global_test_params['PIXIT_MODEFAIL'] + self.modeok = self.matter_test_config.global_test_params['PIXIT_RVCCLEANM_MODEOK'] + self.modefail = self.matter_test_config.global_test_params['PIXIT_RVCCLEANM_MODEFAIL'] asserts.assert_true(self.check_pics("RVCCLEANM.S.A0000"), "RVCCLEANM.S.A0000 must be supported") asserts.assert_true(self.check_pics("RVCCLEANM.S.A0001"), "RVCCLEANM.S.A0001 must be supported") diff --git a/src/python_testing/TC_RVCRUNM_2_1.py b/src/python_testing/TC_RVCRUNM_2_1.py index 1ef5cefe6525e6..881fd468b89341 100644 --- a/src/python_testing/TC_RVCRUNM_2_1.py +++ b/src/python_testing/TC_RVCRUNM_2_1.py @@ -23,7 +23,7 @@ # This test requires several additional command line arguments # run with -# --int-arg PIXIT_ENDPOINT: PIXIT_MODEOK: PIXIT_MODEFAIL: +# --int-arg PIXIT_ENDPOINT: PIXIT_RVCRUNM_MODEOK: PIXIT_RVCRUNM_MODEFAIL: class TC_RVCRUNM_2_1(MatterBaseTest): @@ -44,16 +44,16 @@ async def test_TC_RVCRUNM_2_1(self): asserts.assert_true('PIXIT_ENDPOINT' in self.matter_test_config.global_test_params, "PIXIT_ENDPOINT must be included on the command line in " "the --int-arg flag as PIXIT_ENDPOINT:") - asserts.assert_true('PIXIT_MODEOK' in self.matter_test_config.global_test_params, - "PIXIT_MODEOK must be included on the command line in " - "the --int-arg flag as PIXIT_MODEOK:") - asserts.assert_true('PIXIT_MODEFAIL' in self.matter_test_config.global_test_params, - "PIXIT_MODEFAIL must be included on the command line in " - "the --int-arg flag as PIXIT_MODEFAIL:") + asserts.assert_true('PIXIT_RVCRUNM_MODEOK' in self.matter_test_config.global_test_params, + "PIXIT_RVCRUNM_MODEOK must be included on the command line in " + "the --int-arg flag as PIXIT_RVCRUNM_MODEOK:") + asserts.assert_true('PIXIT_RVCRUNM_MODEFAIL' in self.matter_test_config.global_test_params, + "PIXIT_RVCRUNM_MODEFAIL must be included on the command line in " + "the --int-arg flag as PIXIT_RVCRUNM_MODEFAIL:") self.endpoint = self.matter_test_config.global_test_params['PIXIT_ENDPOINT'] - self.modeok = self.matter_test_config.global_test_params['PIXIT_MODEOK'] - self.modefail = self.matter_test_config.global_test_params['PIXIT_MODEFAIL'] + self.modeok = self.matter_test_config.global_test_params['PIXIT_RVCRUNM_MODEOK'] + self.modefail = self.matter_test_config.global_test_params['PIXIT_RVCRUNM_MODEFAIL'] asserts.assert_true(self.check_pics("RVCRUNM.S.A0000"), "RVCRUNM.S.A0000 must be supported") asserts.assert_true(self.check_pics("RVCRUNM.S.A0001"), "RVCRUNM.S.A0001 must be supported") From f480e26d5fdb634c28d8705ff4fd5a94d369e476 Mon Sep 17 00:00:00 2001 From: Duyen Tran Date: Wed, 2 Aug 2023 16:06:09 -0400 Subject: [PATCH 2/2] fix PIXIT --- src/python_testing/TC_RVCCLEANM_2_1.py | 18 +++++++++--------- src/python_testing/TC_RVCRUNM_2_1.py | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/python_testing/TC_RVCCLEANM_2_1.py b/src/python_testing/TC_RVCCLEANM_2_1.py index 5df8a2ee1d3eba..e082b83bb67a20 100644 --- a/src/python_testing/TC_RVCCLEANM_2_1.py +++ b/src/python_testing/TC_RVCCLEANM_2_1.py @@ -23,7 +23,7 @@ # This test requires several additional command line arguments # run with -# --int-arg PIXIT_ENDPOINT: PIXIT_RVCCLEANM_MODEOK: PIXIT_RVCCLEANM_MODEFAIL: +# --int-arg PIXIT_ENDPOINT: PIXIT.RVCCLEANM.MODE_CHANGE_OK: PIXIT.RVCCLEANM.MODE_CHANGE_FAIL: class TC_RVCCLEANM_2_1(MatterBaseTest): @@ -44,16 +44,16 @@ async def test_TC_RVCCLEANM_2_1(self): asserts.assert_true('PIXIT_ENDPOINT' in self.matter_test_config.global_test_params, "PIXIT_ENDPOINT must be included on the command line in " "the --int-arg flag as PIXIT_ENDPOINT:") - asserts.assert_true('PIXIT_RVCCLEANM_MODEOK' in self.matter_test_config.global_test_params, - "PIXIT_RVCCLEANM_MODEOK must be included on the command line in " - "the --int-arg flag as PIXIT_RVCCLEANM_MODEOK:") - asserts.assert_true('PIXIT_RVCCLEANM_MODEFAIL' in self.matter_test_config.global_test_params, - "PIXIT_RVCCLEANM_MODEFAIL must be included on the command line in " - "the --int-arg flag as PIXIT_RVCCLEANM_MODEFAIL:") + asserts.assert_true('PIXIT.RVCCLEANM.MODE_CHANGE_OK' in self.matter_test_config.global_test_params, + "PIXIT.RVCCLEANM.MODE_CHANGE_OK must be included on the command line in " + "the --int-arg flag as PIXIT.RVCCLEANM.MODE_CHANGE_OK:") + asserts.assert_true('PIXIT.RVCCLEANM.MODE_CHANGE_FAIL' in self.matter_test_config.global_test_params, + "PIXIT.RVCCLEANM.MODE_CHANGE_FAIL must be included on the command line in " + "the --int-arg flag as PIXIT.RVCCLEANM.MODE_CHANGE_FAIL:") self.endpoint = self.matter_test_config.global_test_params['PIXIT_ENDPOINT'] - self.modeok = self.matter_test_config.global_test_params['PIXIT_RVCCLEANM_MODEOK'] - self.modefail = self.matter_test_config.global_test_params['PIXIT_RVCCLEANM_MODEFAIL'] + self.modeok = self.matter_test_config.global_test_params['PIXIT.RVCCLEANM.MODE_CHANGE_OK'] + self.modefail = self.matter_test_config.global_test_params['PIXIT.RVCCLEANM.MODE_CHANGE_FAIL'] asserts.assert_true(self.check_pics("RVCCLEANM.S.A0000"), "RVCCLEANM.S.A0000 must be supported") asserts.assert_true(self.check_pics("RVCCLEANM.S.A0001"), "RVCCLEANM.S.A0001 must be supported") diff --git a/src/python_testing/TC_RVCRUNM_2_1.py b/src/python_testing/TC_RVCRUNM_2_1.py index 881fd468b89341..f6be1d2287f371 100644 --- a/src/python_testing/TC_RVCRUNM_2_1.py +++ b/src/python_testing/TC_RVCRUNM_2_1.py @@ -23,7 +23,7 @@ # This test requires several additional command line arguments # run with -# --int-arg PIXIT_ENDPOINT: PIXIT_RVCRUNM_MODEOK: PIXIT_RVCRUNM_MODEFAIL: +# --int-arg PIXIT_ENDPOINT: PIXIT.RVCRUNM.MODE_CHANGE_OK: PIXIT.RVCRUNM.MODE_CHANGE_FAIL: class TC_RVCRUNM_2_1(MatterBaseTest): @@ -44,16 +44,16 @@ async def test_TC_RVCRUNM_2_1(self): asserts.assert_true('PIXIT_ENDPOINT' in self.matter_test_config.global_test_params, "PIXIT_ENDPOINT must be included on the command line in " "the --int-arg flag as PIXIT_ENDPOINT:") - asserts.assert_true('PIXIT_RVCRUNM_MODEOK' in self.matter_test_config.global_test_params, - "PIXIT_RVCRUNM_MODEOK must be included on the command line in " - "the --int-arg flag as PIXIT_RVCRUNM_MODEOK:") - asserts.assert_true('PIXIT_RVCRUNM_MODEFAIL' in self.matter_test_config.global_test_params, - "PIXIT_RVCRUNM_MODEFAIL must be included on the command line in " - "the --int-arg flag as PIXIT_RVCRUNM_MODEFAIL:") + asserts.assert_true('PIXIT.RVCRUNM.MODE_CHANGE_OK' in self.matter_test_config.global_test_params, + "PIXIT.RVCRUNM.MODE_CHANGE_OK must be included on the command line in " + "the --int-arg flag as PIXIT.RVCRUNM.MODE_CHANGE_OK:") + asserts.assert_true('PIXIT.RVCRUNM.MODE_CHANGE_FAIL' in self.matter_test_config.global_test_params, + "PIXIT.RVCRUNM.MODE_CHANGE_FAIL must be included on the command line in " + "the --int-arg flag as PIXIT.RVCRUNM.MODE_CHANGE_FAIL:") self.endpoint = self.matter_test_config.global_test_params['PIXIT_ENDPOINT'] - self.modeok = self.matter_test_config.global_test_params['PIXIT_RVCRUNM_MODEOK'] - self.modefail = self.matter_test_config.global_test_params['PIXIT_RVCRUNM_MODEFAIL'] + self.modeok = self.matter_test_config.global_test_params['PIXIT.RVCRUNM.MODE_CHANGE_OK'] + self.modefail = self.matter_test_config.global_test_params['PIXIT.RVCRUNM.MODE_CHANGE_FAIL'] asserts.assert_true(self.check_pics("RVCRUNM.S.A0000"), "RVCRUNM.S.A0000 must be supported") asserts.assert_true(self.check_pics("RVCRUNM.S.A0001"), "RVCRUNM.S.A0001 must be supported")