Skip to content

Commit 7fcd47c

Browse files
restyled-commitsPeterC1965
authored andcommitted
Restyled by autopep8
1 parent 1208acf commit 7fcd47c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/python_testing/TC_WHM_2_1.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ class CommonCodes(Enum):
162162
st = ret.status
163163
is_mfg_code = st in range(0x80, 0xC0)
164164
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))
165+
asserts.assert_true(
166+
is_err_code, "Changing to mode %d must fail due to the current state of the device" % (self.mode_fail))
166167
st_text_len = len(ret.statusText)
167168
asserts.assert_true(st_text_len in range(1, 65), "StatusText length (%d) must be between 1 and 64" % (st_text_len))
168169

0 commit comments

Comments
 (0)