@@ -134,7 +134,7 @@ def test_drivers_tmt_run_tmt_with_forward_ssh():
134134 result = client .run_tmt_local (True , "tmt" , "user" , "pass" , ["arg1" ])
135135 assert result == 0
136136 mock_run_tmt .assert_called_once_with (
137- "localhost" , 2222 , "tmt" , "user" , "pass" , "j power cycle " , ["arg1" ]
137+ "localhost" , 2222 , "tmt" , "user" , "pass" , "" , ["arg1" ]
138138 )
139139
140140
@@ -148,7 +148,7 @@ def test_drivers_tmt_run_tmt_with_direct_address():
148148 result = client .run_tmt_local (False , "tmt" , "user" , "pass" , ["arg1" ])
149149 assert result == 0
150150 mock_run_tmt .assert_called_once_with (
151- "127.0.0.1" , 22 , "tmt" , "user" , "pass" , "j power cycle " , ["arg1" ]
151+ "127.0.0.1" , 22 , "tmt" , "user" , "pass" , "" , ["arg1" ]
152152 )
153153
154154
@@ -168,7 +168,7 @@ def test_drivers_tmt_run_tmt_fallback_to_forwarding():
168168 result = client .run_tmt_local (False , "tmt" , "user" , "pass" , ["arg1" ])
169169 assert result == 0
170170 mock_run_tmt .assert_called_once_with (
171- "localhost" , 2222 , "tmt" , "user" , "pass" , "j power cycle " , ["arg1" ]
171+ "localhost" , 2222 , "tmt" , "user" , "pass" , "" , ["arg1" ]
172172 )
173173
174174
@@ -236,7 +236,7 @@ def test_drivers_tmt_driver_defaults():
236236 with serve (instance ) as client :
237237 # Test default reboot_cmd
238238 reboot_cmd = client .call ("get_reboot_cmd" )
239- assert reboot_cmd == "j power cycle "
239+ assert reboot_cmd == ""
240240
241241 # Test default username and password
242242 username , password = client .call ("get_default_user_pass" )
0 commit comments