Module status :: Class Status
[hide private]
[frames] | no frames]

Class Status

source code


The relax status singleton class.

Instance Methods [hide private]
str
_det_install_path(self)
Determine, with a bit of magic, the relax installation path.
source code
 
_setup(self)
Initialise all the status data structures.
source code
 
_setup_observers(self)
Set up all the observer objects.
source code
 
init_auto_analysis(self, name, type)
Initialise a status container for an auto-analysis.
source code
 
reset(self)
Reset the status object to its initial state.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
a new object with type S, a subtype of T
__new__(self, *args, **kargs)
Replacement method for implementing the singleton design pattern.
source code
Class Variables [hide private]
  _instance = Status()
Instance Variables [hide private]
  skipped_tests
The skipped tests list.
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__new__(self, *args, **kargs)
Static Method

source code 

Replacement method for implementing the singleton design pattern.

Returns: a new object with type S, a subtype of T
Overrides: object.__new__

_det_install_path(self)

source code 

Determine, with a bit of magic, the relax installation path.

Returns: str
The relax installation path. With a Mac OS X app, this will be the path to the 'Resources'.

init_auto_analysis(self, name, type)

source code 

Initialise a status container for an auto-analysis.

Parameters:
  • name (str.) - The unique name of the auto-analysis. This will act as a key.
  • type (str) - The type of auto-analysis.

Instance Variable Details [hide private]

skipped_tests

The skipped tests list. Each element should be a list of the test case name, the missing Python module, and the name of the test suite category (i.e. 'system' or 'unit').