|
def | __init__ (self, aktualizr_primary_exe, aktualizr_info_exe, id, uptane_server, wait_port=9040, wait_timeout=60, log_level=1, primary_port=None, secondaries=None, secondary_wait_sec=600, output_logs=True, run_mode='once', director=None, image_repo=None, sysroot=None, treehub=None, ostree_mock_path=None, **kwargs) |
|
def | set_mode (self, mode) |
|
def | add_secondary (self, secondary) |
|
def | update_wait_timeout (self, timeout) |
|
def | run (self, run_mode) |
|
def | get_info (self, retry=30) |
|
def | is_ecu_registered (self, ecu_id) |
|
def | get_current_image_info (self, ecu_id) |
|
def | get_current_pending_image_info (self, ecu_id) |
|
def | get_current_primary_image_info (self) |
|
def | get_primary_pending_version (self) |
|
def | __enter__ (self) |
|
def | __exit__ (self, exc_type, exc_val, exc_tb) |
|
def | terminate (self, sig=signal.SIGTERM) |
|
def | output (self) |
|
def | wait_for_completion (self, timeout=120) |
|
def | wait_for_provision (self, timeout=60) |
|
def | emulate_reboot (self) |
|
|
string | CONFIG_TEMPLATE |
|
string | SECONDARY_CONFIG_TEMPLATE |
|
Definition at line 26 of file test_fixtures.py.
◆ SECONDARY_CONFIG_TEMPLATE
string test_fixtures.Aktualizr.SECONDARY_CONFIG_TEMPLATE |
|
static |
Initial value:= '''
{{
"IP": {{
"secondaries_wait_port": {port},
"secondaries_wait_timeout": {timeout},
"secondaries": []
}}
}}
'''
Definition at line 121 of file test_fixtures.py.
The documentation for this class was generated from the following file: