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.


Member Function 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.

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.


Member Data Documentation

Definition at line 173 of file wgtest_client.py.

Definition at line 168 of file wgtest_client.py.

Definition at line 167 of file wgtest_client.py.

Definition at line 175 of file wgtest_client.py.

Definition at line 169 of file wgtest_client.py.

Definition at line 171 of file wgtest_client.py.

Definition at line 177 of file wgtest_client.py.

Definition at line 170 of file wgtest_client.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables


wg_invent_client
Author(s): Scott Hassan, Kevin Watts
autogenerated on Fri Jan 11 09:32:50 2013