Station Self Check Manager

An implementation of self check procedures for a station.

class SpsStationSelfCheckManager(logger, tile_trls, subrack_trls, daq_trl, component_manager)

A class for initiating station self-check procedures.

__init__(logger, tile_trls, subrack_trls, daq_trl, component_manager)

Initialise a new instance.

Parameters:
  • logger (Logger) – a logger for this model to use.

  • tile_trls (list[str]) – trls of tiles the station has.

  • subrack_trls (list[str]) – trls of subracks the station has.

  • daq_trl (str) – trl of the daq the station has.

  • component_manager (SpsStationComponentManager) – SpsStation component manager under test.

property keep_test_data: bool

Return whether or not to keep any test data.

Returns:

whether or not to keep any test data.

run_test(test_name, count)

Run a specific test, with an optional count parameter to run multiple times.

Parameters:
  • test_name (str) – name of the test to run.

  • count (int) – number of times to run test.

Return type:

list[TestResult]

Returns:

results of the tests.

run_tests()

Run all self check tests.

Return type:

list[TestResult]

Returns:

results of the test set.