|
def | __init__ (self, aktualizr_secondary_exe, id, port=None, primary_port=None, sysroot=None, treehub=None, output_logs=True, force_reboot=False, ostree_mock_path=None, **kwargs) |
|
def | is_running (self) |
|
def | __enter__ (self) |
|
def | __exit__ (self, exc_type, exc_val, exc_tb) |
|
def | wait_for_completion (self, timeout=120) |
|
def | emulate_reboot (self) |
|
|
| id |
|
| storage_dir |
|
| port |
|
| primary_port |
|
| reboot_sentinel_file |
|
Definition at line 293 of file test_fixtures.py.
◆ CONFIG_TEMPLATE
string test_fixtures.IPSecondary.CONFIG_TEMPLATE |
|
static |
Initial value:= '''
[uptane]
ecu_serial = "{serial}"
ecu_hardware_id = "{hw_ID}"
force_install_completion = {force_reboot}
[network]
port = {port}
primary_ip = "127.0.0.1"
primary_port = {primary_port}
[storage]
type = "sqlite"
path = "{storage_dir}"
sqldb_path = "{db_path}"
[pacman]
type = "{pacman_type}"
sysroot = "{ostree_sysroot}"
ostree_server = "{treehub_server}"
os = "dummy-os"
[bootloader]
reboot_sentinel_dir = "{sentinel_dir}"
reboot_sentinel_name = "{sentinel_name}"
reboot_command = "{reboot_command}"
'''
Definition at line 334 of file test_fixtures.py.
The documentation for this class was generated from the following file: