SubsystemWrapper

class ska_csp_lmc_common.testing.k8s_test.wrappers.base_subsystem_wrappers.SubsystemWrapper(names: dict, initial_conditions: dict, logger: Logger | None = None)

Bases: ABC

A wrapper class for the CSP Subsystems.

abstract _set_up_devicewrappers(names: dict, initial_conditions: dict) list

Set up the list of device wrappers. To be implemented in subclasses.

check_all_devices_are_alive() None

Check that all the devices in the list are alive

Param:

devices: the list of devices to be checked

reinit_all_devices(timeout: int = 10) None

Reinizialize all the devices

is_in_initial_status() bool

Check that all devices in the Subsystem are in their initial status.

Returns:

a boolean value representing if all devices are in their initial status

_abc_impl = <_abc._abc_data object>