Test client for the eltpk server.
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) |
| | Setup connection and sends test commands to server in sequence then check if it the app make the statemachine transistion correctly and within especified window time.
|
| |
Test client for the eltpk server.
◆ __init__()
| def eltpk_preset_sequence.EltpkClient.__init__ |
( |
|
self, |
|
|
|
args, |
|
|
|
log_level = logging.DEBUG |
|
) |
| |
◆ main()
| def eltpk_preset_sequence.EltpkClient.main |
( |
|
arguments | ) |
|
|
static |
Create instance and call test method.
◆ parse_args()
| def eltpk_preset_sequence.EltpkClient.parse_args |
( |
|
arguments | ) |
|
|
static |
Static methods for parsing of command line arguments.
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 eltpk_preset_sequence.EltpkClient.preset_sequence_test |
( |
|
self | ) |
|
Setup connection and sends test commands to server in sequence then check if it the app make the statemachine transistion correctly and within especified window time.
args is the set of arguments passed on the command line.
◆ verify_response()
| def eltpk_preset_sequence.EltpkClient.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_std_cmds
| eltpk_preset_sequence.EltpkClient.eltpk_std_cmds |
◆ service_commands
| eltpk_preset_sequence.EltpkClient.service_commands |
◆ trksim_std_cmds
| eltpk_preset_sequence.EltpkClient.trksim_std_cmds |
The documentation for this class was generated from the following file: