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 | offset_setsky (self, args) |
| | Setup connection and sends offsetSetSky commands to server.
|
| |
| def | offset_setsky_standard_test (self, args) |
| | Setup connection and sends test commands to server in 2 different situations:
|
| |
|
| 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 hlcc_log_level.TelifsimClient.__init__ |
( |
|
self, |
|
|
|
args, |
|
|
|
log_level = logging.DEBUG |
|
) |
| |
◆ main()
| def hlcc_log_level.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:
◆ offset_setsky()
| def hlcc_log_level.TelifsimClient.offset_setsky |
( |
|
self, |
|
|
|
args |
|
) |
| |
Setup connection and sends offsetSetSky commands to server.
args is the set of arguments passed on the command line.
◆ offset_setsky_standard_test()
| def hlcc_log_level.TelifsimClient.offset_setsky_standard_test |
( |
|
self, |
|
|
|
args |
|
) |
| |
Setup connection and sends test commands to server in 2 different situations:
- Telescope not tracking (Not ready) - command should fail
- Telescope tracking - Command should succeed
◆ parse_args()
| def hlcc_log_level.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 hlcc_log_level.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.
◆ oldb_client
| hlcc_log_level.TelifsimClient.oldb_client |
◆ pk_service_commands
| hlcc_log_level.TelifsimClient.pk_service_commands |
◆ pk_service_std_cmds
| hlcc_log_level.TelifsimClient.pk_service_std_cmds |
◆ service_commands
| hlcc_log_level.TelifsimClient.service_commands |
◆ service_metadaq
| hlcc_log_level.TelifsimClient.service_metadaq |
◆ service_sim_cmds
| hlcc_log_level.TelifsimClient.service_sim_cmds |
◆ service_std_cmds
| hlcc_log_level.TelifsimClient.service_std_cmds |
The documentation for this class was generated from the following file: