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 | preset_sequence_test (self, args) |
| | Setup connection and sends test preset 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_preset_sequence.TelifsimClient.__init__ |
( |
|
self, |
|
|
|
args, |
|
|
|
log_level = logging.DEBUG |
|
) |
| |
◆ main()
| def telifsim_preset_sequence.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:
◆ parse_args()
| def telifsim_preset_sequence.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:
◆ preset_sequence_test()
| def telifsim_preset_sequence.TelifsimClient.preset_sequence_test |
( |
|
self, |
|
|
|
args |
|
) |
| |
Setup connection and sends test preset commands to server.
But first configures preset mode to sequence mode and also set the name of the sequence that should be executed.
◆ verify_response()
| def telifsim_preset_sequence.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.
◆ service_commands
| telifsim_preset_sequence.TelifsimClient.service_commands |
◆ service_sim_cmds
| telifsim_preset_sequence.TelifsimClient.service_sim_cmds |
◆ service_std_cmds
| telifsim_preset_sequence.TelifsimClient.service_std_cmds |
The documentation for this class was generated from the following file: