From 02af38dcb88a77b5baec80cff35319d4200a3486 Mon Sep 17 00:00:00 2001 From: pcoleman Date: Mon, 16 Sep 2024 10:13:03 +0100 Subject: [PATCH] Remove errant test code --- src/python_testing/TC_WHM_2_1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python_testing/TC_WHM_2_1.py b/src/python_testing/TC_WHM_2_1.py index 8ee357aa18ae11..992268f4313397 100644 --- a/src/python_testing/TC_WHM_2_1.py +++ b/src/python_testing/TC_WHM_2_1.py @@ -140,7 +140,7 @@ class CommonCodes(Enum): asserts.assert_equal(ret.status, Status.Success, "Changing the mode to the current mode should be a no-op") - if 1 or self.check_pics("WHM.S.M.CAN_TEST_MODE_FAILURE"): + if self.check_pics("WHM.S.M.CAN_TEST_MODE_FAILURE"): asserts.assert_true(self.mode_fail in modes, "The MODE_CHANGE_FAIL PIXIT value (%d) is not a supported mode" % (self.mode_fail)) self.step(5)