We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1208acf commit 7fcd47cCopy full SHA for 7fcd47c
src/python_testing/TC_WHM_2_1.py
@@ -162,7 +162,8 @@ class CommonCodes(Enum):
162
st = ret.status
163
is_mfg_code = st in range(0x80, 0xC0)
164
is_err_code = (st == CommonCodes.GENERIC_FAILURE.value) or (st == CommonCodes.INVALID_IN_MODE.value) or is_mfg_code
165
- asserts.assert_true(is_err_code, "Changing to mode %d must fail due to the current state of the device" % (self.mode_fail))
+ asserts.assert_true(
166
+ is_err_code, "Changing to mode %d must fail due to the current state of the device" % (self.mode_fail))
167
st_text_len = len(ret.statusText)
168
asserts.assert_true(st_text_len in range(1, 65), "StatusText length (%d) must be between 1 and 64" % (st_text_len))
169
0 commit comments