diff --git a/src/python_testing/TC_RVCCLEANM_3_2.py b/src/python_testing/TC_RVCCLEANM_3_2.py index ec6299acb8396c..1d7adf315eca63 100644 --- a/src/python_testing/TC_RVCCLEANM_3_2.py +++ b/src/python_testing/TC_RVCCLEANM_3_2.py @@ -48,7 +48,7 @@ async def write_start_up_mode(self, newMode): async def check_preconditions(self, endpoint): # check whether the StartUpMode will be overridden by the OnMode attribute - if self.check_pics("RVCCLEANM.S.F00") == False: + if self.check_pics("RVCCLEANM.S.F00") is False: return True logging.info("RVCCLEANM.S.F00: 1") diff --git a/src/python_testing/TC_RVCRUNM_3_2.py b/src/python_testing/TC_RVCRUNM_3_2.py index 0a5a792ae7ac97..a57036051ee257 100644 --- a/src/python_testing/TC_RVCRUNM_3_2.py +++ b/src/python_testing/TC_RVCRUNM_3_2.py @@ -48,7 +48,7 @@ async def write_start_up_mode(self, newMode): async def check_preconditions(self, endpoint): # check whether the StartUpMode will be overridden by the OnMode attribute - if self.check_pics("RVCRUNM.S.F00") == False: + if self.check_pics("RVCRUNM.S.F00") is False: return True logging.info("RVCRUNM.S.F00: 1")