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 | rous_cmd_line_tool (self, args) |
| | Setup connection and sends Rous control command to server.
|
| |
| def | rous_standard_test (self, args) |
| | Setup connection and sends Rous control command to server in sequence and check if they application behaves as expected.
|
| |
|
| 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_rous.TelifsimClient.__init__ |
( |
|
self, |
|
|
|
args, |
|
|
|
log_level = logging.DEBUG |
|
) |
| |
◆ main()
| def telifsim_rous.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_rous.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:
◆ rous_cmd_line_tool()
| def telifsim_rous.TelifsimClient.rous_cmd_line_tool |
( |
|
self, |
|
|
|
args |
|
) |
| |
Setup connection and sends Rous control command to server.
args is the set of arguments passed on the command line.
◆ rous_standard_test()
| def telifsim_rous.TelifsimClient.rous_standard_test |
( |
|
self, |
|
|
|
args |
|
) |
| |
Setup connection and sends Rous control command to server in sequence and check if they application behaves as expected.
args is the set of arguments passed on the command line.
◆ verify_response()
| def telifsim_rous.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
| telifsim_rous.TelifsimClient.oldb_client |
◆ service_commands
| telifsim_rous.TelifsimClient.service_commands |
◆ service_sim_cmds
| telifsim_rous.TelifsimClient.service_sim_cmds |
◆ service_std_cmds
| telifsim_rous.TelifsimClient.service_std_cmds |
The documentation for this class was generated from the following file: