Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
class TMT(Driver):
""" driver for Jumpstarter"""

reboot_cmd: str = "j power cycle"
reboot_cmd: str = ""
Comment thread
mangelajo marked this conversation as resolved.
default_username: str = ""
default_password: str = ""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def test_drivers_tmt_run_tmt_with_forward_ssh():
result = client.run_tmt_local(True, "tmt", "user", "pass", ["arg1"])
assert result == 0
mock_run_tmt.assert_called_once_with(
"localhost", 2222, "tmt", "user", "pass", "j power cycle", ["arg1"]
"localhost", 2222, "tmt", "user", "pass", "", ["arg1"]
)


Expand All @@ -148,7 +148,7 @@ def test_drivers_tmt_run_tmt_with_direct_address():
result = client.run_tmt_local(False, "tmt", "user", "pass", ["arg1"])
assert result == 0
mock_run_tmt.assert_called_once_with(
"127.0.0.1", 22, "tmt", "user", "pass", "j power cycle", ["arg1"]
"127.0.0.1", 22, "tmt", "user", "pass", "", ["arg1"]
)


Expand All @@ -168,7 +168,7 @@ def test_drivers_tmt_run_tmt_fallback_to_forwarding():
result = client.run_tmt_local(False, "tmt", "user", "pass", ["arg1"])
assert result == 0
mock_run_tmt.assert_called_once_with(
"localhost", 2222, "tmt", "user", "pass", "j power cycle", ["arg1"]
"localhost", 2222, "tmt", "user", "pass", "", ["arg1"]
)


Expand Down Expand Up @@ -236,7 +236,7 @@ def test_drivers_tmt_driver_defaults():
with serve(instance) as client:
# Test default reboot_cmd
reboot_cmd = client.call("get_reboot_cmd")
assert reboot_cmd == "j power cycle"
assert reboot_cmd == ""

# Test default username and password
username, password = client.call("get_default_user_pass")
Expand Down
12 changes: 9 additions & 3 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading