Test client for the telif process.
More...
|
| def | __init__ (self, args, log_level=logging.DEBUG) |
| |
| def | verify_response (self, response, expected_reply=None, expected_exception=None) |
| | Verify if the expected response is contained in the actual 'replies' or in the 'exception' that are in the response dictionary.
|
| |
| def | metadaq_command (self, args) |
| | Setup connection and sends Metadata Acquisition commands to server.
|
| |
| def | metadaq_standard_test (self, args) |
| | Setup connection and sends Meda data Acquisition test commands to server.
|
| |
|
| def | parse_args (arguments) |
| | Static methods implementing MAIN () behavior in the class with parsing of command line arguments This allows testing from modular test the full behavior, including main startup.
|
| |
| def | main (arguments) |
| | Execute the main using the command line arguments passed as a list.
|
| |
Test client for the telif process.
◆ __init__()
| def telifsim_metadaqcmds.TelifsimClient.__init__ |
( |
|
self, |
|
|
|
args, |
|
|
|
log_level = logging.DEBUG |
|
) |
| |
◆ main()
| def telifsim_metadaqcmds.TelifsimClient.main |
( |
|
arguments | ) |
|
|
static |
Execute the main using the command line arguments passed as a list.
If you pass the command line arguments, first remove argv[0] by passing:
◆ metadaq_command()
| def telifsim_metadaqcmds.TelifsimClient.metadaq_command |
( |
|
self, |
|
|
|
args |
|
) |
| |
Setup connection and sends Metadata Acquisition commands to server.
args is the set of arguments passed on the command line.
◆ metadaq_standard_test()
| def telifsim_metadaqcmds.TelifsimClient.metadaq_standard_test |
( |
|
self, |
|
|
|
args |
|
) |
| |
Setup connection and sends Meda data Acquisition test commands to server.
args is the set of arguments passed on the command line. ToDo could be better refactored not to pass all of them.
◆ parse_args()
| def telifsim_metadaqcmds.TelifsimClient.parse_args |
( |
|
arguments | ) |
|
|
static |
Static methods implementing MAIN () behavior in the class with parsing of command line arguments This allows testing from modular test the full behavior, including main startup.
Parses the command line arguments passed as a list If you pass the command line arguments, first remove argv[0] by passing:
◆ verify_response()
| def telifsim_metadaqcmds.TelifsimClient.verify_response |
( |
|
self, |
|
|
|
response, |
|
|
|
expected_reply = None, |
|
|
|
expected_exception = None |
|
) |
| |
Verify if the expected response is contained in the actual 'replies' or in the 'exception' that are in the response dictionary.
Returns true if positive.
◆ eltpk_commands_uri
| telifsim_metadaqcmds.TelifsimClient.eltpk_commands_uri |
◆ eltpk_stdcmds_uri
| telifsim_metadaqcmds.TelifsimClient.eltpk_stdcmds_uri |
◆ pk_service_commands
| telifsim_metadaqcmds.TelifsimClient.pk_service_commands |
◆ pk_service_std_cmds
| telifsim_metadaqcmds.TelifsimClient.pk_service_std_cmds |
◆ service_commands
| telifsim_metadaqcmds.TelifsimClient.service_commands |
◆ service_metadaq
| telifsim_metadaqcmds.TelifsimClient.service_metadaq |
◆ service_sim_cmds
| telifsim_metadaqcmds.TelifsimClient.service_sim_cmds |
◆ service_sim_cmds_uri
| telifsim_metadaqcmds.TelifsimClient.service_sim_cmds_uri |
◆ service_std_cmds
| telifsim_metadaqcmds.TelifsimClient.service_std_cmds |
◆ telifsim_commands_uri
| telifsim_metadaqcmds.TelifsimClient.telifsim_commands_uri |
◆ telifsim_metadaq_uri
| telifsim_metadaqcmds.TelifsimClient.telifsim_metadaq_uri |
◆ telifsim_stdcmds_uri
| telifsim_metadaqcmds.TelifsimClient.telifsim_stdcmds_uri |
The documentation for this class was generated from the following file: