@@ -94,7 +94,8 @@ async def test_TC_EWATERHTRM_2_1(self):
94
94
95
95
logging .info (f"SupportedModes: { supported_modes } " )
96
96
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!" )
98
99
99
100
modes = [m .mode for m in supported_modes ]
100
101
@@ -111,7 +112,8 @@ async def test_TC_EWATERHTRM_2_1(self):
111
112
112
113
ret = await self .send_change_to_mode_cmd (newMode = old_current_mode )
113
114
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" )
115
117
116
118
# Steps 5-9 are not performed as EWATERHTRM.S.M.CAN_TEST_MODE_FAILURE is false
117
119
self .step (5 )
@@ -154,7 +156,8 @@ async def test_TC_EWATERHTRM_2_1(self):
154
156
155
157
logging .info (f"CurrentMode: { current_mode } " )
156
158
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!" )
158
161
159
162
160
163
if __name__ == "__main__" :
0 commit comments