本文整理匯總了Python中ChorusGlobals.init_testresult方法的典型用法代碼示例。如果您正苦於以下問題:Python ChorusGlobals.init_testresult方法的具體用法?Python ChorusGlobals.init_testresult怎麽用?Python ChorusGlobals.init_testresult使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類ChorusGlobals
的用法示例。
在下文中一共展示了ChorusGlobals.init_testresult方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: __init__
# 需要導入模塊: import ChorusGlobals [as 別名]
# 或者: from ChorusGlobals import init_testresult [as 別名]
def __init__(self):
self.logger = ChorusGlobals.get_logger()
self.config = ChorusGlobals.get_configinfo()
ChorusGlobals.init_testresult()
self.result = ChorusGlobals.get_testresult()
self.suite_dict = self.get_test_mapping()
self.filter_test_mapping()
self.set_scope()
self.get_testsuites()
self.set_baselinepath()
self.get_knownissues()
ChorusGlobals.set_suitedict(self.suite_dict)
示例2: __init__
# 需要導入模塊: import ChorusGlobals [as 別名]
# 或者: from ChorusGlobals import init_testresult [as 別名]
def __init__(self):
self.logger = ChorusGlobals.get_logger()
self.config = ChorusGlobals.get_configinfo()
ChorusGlobals.init_testresult()
self.result = ChorusGlobals.get_testresult()
self.get_project_run()
self.xml_file = ChorusGlobals.get_xml_file()
self.suite_dict = self.get_test_mapping()
if self.xml_file:
self.load_testsuites_from_xml()
self.get_testsuites_from_xml()
else:
print "Doesn't have xml file to specify test execution order"
self.filter_test_mapping()
self.set_scope()
self.get_testsuites()
self.set_baselinepath()
self.get_knownissues()
ChorusGlobals.set_suitedict(self.suite_dict)