Qualification Subtest. More...
Public Member Functions | |
def | __init__ |
def | get_key |
Returns subtest key to allow subtests to load in order. | |
def | get_name |
def | get_timeout |
def | validate |
Check that key exists, launch files exist and are ".launch" files. | |
Private Attributes | |
_key | |
_name | |
_post_script | |
_pre_script | |
_test_script | |
_timeout |
Qualification Subtest.
Each subtest has a main launch file and may have pre- and post- startup scripts. All launch files are stored with their complete paths
subtest | str: Launch file of subtest |
key | int : Allows the subtests to load in order, lowest key first |
pre_test | str (optional): Launch file for pre-subtest script |
post_test | str (optional): Launch file for post-subtest script |
name | str (optional): Human readable name of subtest |
def qualification.test.SubTest.__init__ | ( | self, | |
subtest, | |||
key, | |||
name, | |||
timeout = -1 , |
|||
pre_test = None , |
|||
post_test = None |
|||
) |
def qualification.test.SubTest.get_key | ( | self | ) |
def qualification.test.SubTest.get_name | ( | self | ) |
def qualification.test.SubTest.get_timeout | ( | self | ) |
def qualification.test.SubTest.validate | ( | self | ) |
qualification::test.SubTest::_key [private] |
qualification::test.SubTest::_name [private] |
qualification::test.SubTest::_pre_script [private] |
qualification::test.SubTest::_timeout [private] |