Base TPM Self Check Test
An implementation of self check procedures for a station.
- class TestResult(value)
Enumerate for test results.
- class TpmSelfCheckTest(component_manager, logger, tile_trls, subrack_trls, daq_trl)
Base class for Tpm self check tests.
- __init__(component_manager, logger, tile_trls, subrack_trls, daq_trl)
Initialise a new instance.
- Parameters:
logger (
Logger) – a logger for this model to use.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.
- check_requirements()
Check requirements for the test before running.
- run_test()
Run the self-check test, collect results.
- Return type:
- Returns:
test result.
- abstract test()
This should be written by sub-classes.
- Raises:
NotImplementedError – this is abstract.
- Return type: