Public Member Functions | Public Attributes
wg_invent_client.wgtest_client.TestData Class Reference

List of all members.

Public Member Functions

def __init__
def add_subtest
def set_attachment
def set_note

Public Attributes

 attachment
 desc
 name
 note
 reference
 result
 subtests
 timestamp

Detailed Description

Stores test data to log into WG Test database

Definition at line 155 of file wgtest_client.py.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

@param note str : Note to add to test log

Definition at line 187 of file wgtest_client.py.


Member Data Documentation

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.


The documentation for this class was generated from the following file:


wg_invent_client
Author(s): Scott Hassan, Kevin Watts
autogenerated on Sat Dec 28 2013 17:55:42