Public Member Functions | |
def | __init__ |
def | add_subtest |
def | set_attachment |
def | set_note |
Public Attributes | |
attachment | |
desc | |
name | |
note | |
reference | |
result | |
subtests | |
timestamp |
Stores test data to log into WG Test database
Definition at line 155 of file wgtest_client.py.
def wg_invent_client.wgtest_client.TestData.__init__ | ( | self, | |
name, | |||
desc, | |||
timestamp, | |||
reference, | |||
result | |||
) |
@param name str : ID of test @param desc str : Description of test @param timestamp int : Timestamp test started @param reference str : Reference of test @param result str : Result of test. Ex: "PASS" or "FAIL"
Definition at line 159 of file wgtest_client.py.
def wg_invent_client.wgtest_client.TestData.add_subtest | ( | self, | |
subtest | |||
) |
Subtests are added to each test. @param subtest SubtestData : Subtest data
Definition at line 193 of file wgtest_client.py.
def wg_invent_client.wgtest_client.TestData.set_attachment | ( | self, | |
content_type, | |||
fn | |||
) |
@todo Attachment gets loaded into HDF. This should probably change @param content_type str : MIME type of attachment @param fn str : Filename
Definition at line 179 of file wgtest_client.py.
def wg_invent_client.wgtest_client.TestData.set_note | ( | self, | |
note | |||
) |
@param note str : Note to add to test log
Definition at line 187 of file wgtest_client.py.
Definition at line 165 of file wgtest_client.py.
Definition at line 165 of file wgtest_client.py.
Definition at line 165 of file wgtest_client.py.
Definition at line 165 of file wgtest_client.py.
Definition at line 165 of file wgtest_client.py.
Definition at line 165 of file wgtest_client.py.
Definition at line 165 of file wgtest_client.py.
Definition at line 165 of file wgtest_client.py.