hlcc 2.0.0-beta2+pre1
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
eltpk_preset_sequence.EltpkClient Class Reference

Test client for the eltpk server. More...

Inheritance diagram for eltpk_preset_sequence.EltpkClient:

Public Member Functions

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.
 

Static Public Member Functions

def parse_args (arguments)
 Static methods for parsing of command line arguments.
 
def main (arguments)
 Create instance and call test method.
 

Public Attributes

 eltpk_std_cmds
 
 trksim_std_cmds
 
 service_commands
 

Detailed Description

Test client for the eltpk server.

Constructor & Destructor Documentation

◆ __init__()

def eltpk_preset_sequence.EltpkClient.__init__ (   self,
  args,
  log_level = logging.DEBUG 
)

Member Function Documentation

◆ 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:

sys.argv[1:]

◆ 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.

Member Data Documentation

◆ 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: