pymtt
 All Classes Namespaces Files Functions Variables Groups
Namespaces | Variables
pymtt.py File Reference

Go to the source code of this file.

Namespaces

 pymtt
 

Variables

tuple pymtt.parser
 
tuple pymtt.infoGroup = parser.add_argument_group('InfoGroup','Informational Options')
 
string pymtt.action = "store_true"
 
string pymtt.help = "Print version"
 
tuple pymtt.execGroup = parser.add_argument_group('execGroup', "Execution Options")
 
string pymtt.dest = "duration"
 
tuple pymtt.debugGroup = parser.add_argument_group('debugGroup', 'Debug Options')
 
tuple pymtt.elkGroup = parser.add_argument_group('elkGroup','ELK-friendly output options')
 
list pymtt.default = os.environ['MTT_ELK_TESTCASE']
 
tuple pymtt.args = parser.parse_args()
 
list pymtt.mttArgs = []
 
list pymtt.mtthome = os.environ['MTT_HOME']
 
tuple pymtt.topdir = os.path.join(mtthome, "pylib")
 
tuple pymtt.basedir = args.basediroros.path.join(mtthome, "pylib", "System")
 
tuple pymtt.m = imp.load_source("TestDef", os.path.join(basedir, "TestDef.py"))
 
tuple pymtt.cls = getattr(m, "TestDef")
 
tuple pymtt.a = cls()
 
tuple pymtt.testDef = a.__class__()
 
string pymtt.fallback = "sequential"
 
tuple pymtt.executor = args.executorortestDef.config.get('MTTDefaults', 'executor', fallback=fallback)
 
tuple pymtt.status = testDef.executeTest(executor=executor.lower())