Defines global constants that are used throughout the PySys
framework.
The standard convention is to import all contents of the module so
that the constants can be referenced directly. The module also contains
methods for locating and parsing the PySys project file (pysys.constants.loadproject), and the project class that
provides an abstraction over the contents of the file (pysys.constants.Project). For more information about the
structure and contents of the project file, see the PySys examples
distribution.
|
HOSTNAME = ' acv-win2012.eur.ad.sag '
|
|
WINDIR = ' C:\\Windows '
|
|
PLATFORM = ' win32 '
|
|
OSFAMILY = ' windows '
|
|
DEVNULL = ' nul '
|
|
ENVSEPERATOR = ' ; '
|
|
PATH = ' C:\\Windows;C:\\Windows\\system32;C:\\Windows\\System3 ...
|
|
LD_LIBRARY_PATH = '
'
|
|
DYLD_LIBRARY_PATH = '
'
|
|
SITE_PACKAGES_DIR = ' c:\\apama_build\\apama-lib3\\win\\amd64\\ ...
|
|
TRUE = True
|
|
FALSE = False
|
|
BACKGROUND = 10
|
|
FOREGROUND = 11
|
|
PASSED = 20
|
|
INSPECT = 21
|
|
NOTVERIFIED = 22
|
|
FAILED = 23
|
|
TIMEDOUT = 24
|
|
DUMPEDCORE = 25
|
|
BLOCKED = 26
|
|
SKIPPED = 27
|
|
LOOKUP = { False: ' FALSE ' , True: ' TRUE ' , 20: ' PASSED ' , 21: ' REQ ...
|
|
PRECEDENT = [ 27, 26, 25, 24, 23, 22, 21, 20]
|
|
FAILS = [ 26, 25, 24, 23]
|
|
DEFAULT_PROJECTFILE = [ ' pysysproject.xml ' , ' .pysysproject ' ]
|
|
DEFAULT_DESCRIPTOR = [ ' pysystest.xml ' , ' .pysystest ' , ' descript ...
|
|
DEFAULT_MODULE = ' run '
|
|
DEFAULT_GROUP = '
'
|
|
DEFAULT_TESTCLASS = ' PySysTest '
|
|
DEFAULT_INPUT = ' Input '
|
|
DEFAULT_OUTPUT = ' Output '
|
|
DEFAULT_REFERENCE = ' Reference '
|
|
DEFAULT_RUNNER = [ ' BaseRunner ' , ' pysys.baserunner ' ]
|
|
DEFAULT_MAKER = [ ' ConsoleMakeTestHelper ' , ' pysys.launcher.cons ...
|
|
DEFAULT_WRITER = [ ' XMLResultsWriter ' , ' pysys.writer ' , ' testsum ...
|
|
DEFAULT_STYLESHEET = ' c:\\apama_build\\apama-lib3\\win\\amd64\ ...
|
|
DEFAULT_FORMAT_STDOUT = ' %(asctime)s %(levelname)-5s %(message)s '
|
|
DEFAULT_FORMAT_RUNLOG = ' %(asctime)s %(levelname)-5s %(message)s '
|
|
DEFAULT_ABORT_ON_ERROR = False
|
|
OSWALK_IGNORES = [ ' Input ' , ' Output ' , ' Reference ' , ' CVS ' , ' .svn ' ]
|
|
DEFAULT_TIMEOUT = 600
|
|
TIMEOUTS = { ' ManualTester ' : 1800, ' WaitForFile ' : 30, ' WaitForP ...
|
|
PROJECT = None
|
|
__package__ = ' pysys '
|