3. dut_auxiliary

3.1. Device Under Test Auxiliary

module

DUTAuxiliary

synopsis

The Device Under Test auxiliary allow to flash and run test on the target using the connector provided.

class pykiso.lib.auxiliaries.dut_auxiliary.DUTAuxiliary(name=None, com=None, flash=None, **kwargs)[source]

Device Under Test(DUT) auxiliary implementation.

Constructor.

Parameters
  • name (Optional[str]) – Alias of the auxiliary instance

  • com (Optional[CChannel]) – Communication connector

  • flash (Optional[Flasher]) – flash connector

resume()[source]

Resume DutAuxiliary’s run.

Set _is_suspend flag to False in order to re-activate flash sequence in case of e.g. a futur abort command.

Return type

None

suspend()[source]

Suspend DutAuxiliary’s run.

Set _is_suspend flag to True to avoid a re-flash sequence.

Return type

None