Skip to content

Commit cabc6d1

Browse files
committedJul 28, 2024
Alignment (autowrapping)
1 parent ebd1509 commit cabc6d1

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed
 

‎src/python_testing/TC_EWATERHTRM_2_1.py

+6-3
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ async def test_TC_EWATERHTRM_2_1(self):
9494

9595
logging.info(f"SupportedModes: {supported_modes}")
9696

97-
asserts.assert_greater_equal(len(supported_modes), 2, "SupportedModes must have at least two entries!")
97+
asserts.assert_greater_equal(len(supported_modes), 2,
98+
"SupportedModes must have at least two entries!")
9899

99100
modes = [m.mode for m in supported_modes]
100101

@@ -111,7 +112,8 @@ async def test_TC_EWATERHTRM_2_1(self):
111112

112113
ret = await self.send_change_to_mode_cmd(newMode=old_current_mode)
113114
logging.info(f"ret.status {ret.status}")
114-
asserts.assert_true(ret.status == Status.Success, "Changing the mode to the current mode should be a no-op")
115+
asserts.assert_true(ret.status == Status.Success,
116+
"Changing the mode to the current mode should be a no-op")
115117

116118
# Steps 5-9 are not performed as EWATERHTRM.S.M.CAN_TEST_MODE_FAILURE is false
117119
self.step(5)
@@ -154,7 +156,8 @@ async def test_TC_EWATERHTRM_2_1(self):
154156

155157
logging.info(f"CurrentMode: {current_mode}")
156158

157-
asserts.assert_true(current_mode == ModeManual, "CurrentMode changed after failed ChangeToMode command!")
159+
asserts.assert_true(current_mode == ModeManual,
160+
"CurrentMode changed after failed ChangeToMode command!")
158161

159162

160163
if __name__ == "__main__":

0 commit comments

Comments
 (0)