thread_auxiliary
Thread based Auxiliary Interface
- module
thread_auxiliary
- synopsis
common thread based auxiliary interface
Warning
AuxiliaryInterface will be deprecated in a few releases!
- class pykiso.interfaces.thread_auxiliary.AuxiliaryInterface(name=None, is_proxy_capable=False, activate_log=None, auto_start=True)[source]
Defines the Interface of all thread based auxiliaries.
Auxiliaries get configured by the Test Coordinator, get instantiated by the TestCases and in turn use Connectors.
Auxiliary initialization.
- Parameters
name (
Optional
[str
]) – alias of the auxiliary instanceis_proxy_capable (
bool
) – notify if the current auxiliary could be (or not) associated to a proxy-auxiliary.activate_log (
Optional
[List
[str
]]) – loggers to deactivateauto_start (
bool
) – determine if the auxiliayry is automatically started (magic import) or manually (by user)
- create_instance()[source]
Create an auxiliary instance and ensure the communication to it.
- Return type
bool
- Returns
message.Message() - Contain received message
- Raises
AuxiliaryCreationError – if instance creation failed