本文整理汇总了Python中nose.plugins.base.Plugin.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python Plugin.__init__方法的具体用法?Python Plugin.__init__怎么用?Python Plugin.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类nose.plugins.base.Plugin
的用法示例。
在下文中一共展示了Plugin.__init__方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
# 需要导入模块: from nose.plugins.base import Plugin [as 别名]
# 或者: from nose.plugins.base.Plugin import __init__ [as 别名]
def __init__(self):
Plugin.__init__(self)
self.driver = None
self.config = {}
self.environment = None
self.driver_initializer_fn = lambda _: None
self.logger = holmium.core.log
示例2: __init__
# 需要导入模块: from nose.plugins.base import Plugin [as 别名]
# 或者: from nose.plugins.base.Plugin import __init__ [as 别名]
def __init__(self):
self.__identifier = None
self.__testClient = None
self.__logFolderPath = None
self.__parsedConfig = None
'''
Contains Config File
'''
self.__configFile = None
'''
Signifies the Zone against which all tests will be Run
'''
self.__zoneForTests = None
'''
Signifies the flag whether to deploy the New DC or Not
'''
self.__deployDcFlag = None
self.conf = None
self.__resultStream = stdout
self.__testRunner = None
self.__testResult = SUCCESS
self.__startTime = None
self.__testName = None
self.__tcRunLogger = None
self.__testModName = ''
self.__hypervisorType = None
'''
The Log Path provided by user where all logs are routed to
'''
self.__userLogPath = None
Plugin.__init__(self)
示例3: __init__
# 需要导入模块: from nose.plugins.base import Plugin [as 别名]
# 或者: from nose.plugins.base.Plugin import __init__ [as 别名]
def __init__(self):
Plugin.__init__(self)
self.post_data_dir = None
self.max_postdata_threshold = None
self.__save_data_count = 0
self.__priv_sn = ''
self.du = DshUtils()
示例4: __init__
# 需要导入模块: from nose.plugins.base import Plugin [as 别名]
# 或者: from nose.plugins.base.Plugin import __init__ [as 别名]
def __init__(self):
Plugin.__init__(self)
self.param = None
self.lcov_bin = None
self.lcov_data = None
self.lcov_out = None
self.lcov_utils = None
self.genhtml_bin = None
示例5: __init__
# 需要导入模块: from nose.plugins.base import Plugin [as 别名]
# 或者: from nose.plugins.base.Plugin import __init__ [as 别名]
def __init__(self):
Plugin.__init__(self)
self.tags_to_check = []
self.tags = []
self.eval_tags = []
self.tags_info = False
self.list_tags = False
self.verbose = False
self.matched = {}
self._test_marker = 'test_'
示例6: __init__
# 需要导入模块: from nose.plugins.base import Plugin [as 别名]
# 或者: from nose.plugins.base.Plugin import __init__ [as 别名]
def __init__(self):
self.identifier = None
self.testClient = None
self.parsedConfig = None
self.configFile = None
self.loadFlag = None
self.conf = None
self.debugStream = sys.stdout
self.testRunner = None
self.startTime = None
self.testName = None
self.tcRunLogger = None
Plugin.__init__(self)
示例7: __init__
# 需要导入模块: from nose.plugins.base import Plugin [as 别名]
# 或者: from nose.plugins.base.Plugin import __init__ [as 别名]
def __init__(self):
Plugin.__init__(self)
self.suites_list = []
self.excludes = []
self.follow = False
self._only_ts = '__only__ts__'
self._only_tc = '__only__tc__'
self._test_marker = 'test_'
self._tests_list = {self._only_ts: [], self._only_tc: []}
self._excludes_list = {self._only_ts: [], self._only_tc: []}
self.__tests_list_copy = {self._only_ts: [], self._only_tc: []}
self.__allowed_cls = []
self.__allowed_method = []
示例8: __init__
# 需要导入模块: from nose.plugins.base import Plugin [as 别名]
# 或者: from nose.plugins.base.Plugin import __init__ [as 别名]
def __init__(self):
Plugin.__init__(self)
self.param = None
self.lcov_bin = None
self.lcov_data = None
self.lcov_out = None
self.lcov_utils = None
self.lcov_nosrc = None
self.lcov_baseurl = None
self.genhtml_bin = None
self.config = None
self.result = None
self.tc_failure_threshold = None
self.cumulative_tc_failure_threshold = None
self.__failed_tc_count = 0
self.__tf_count = 0
self.__failed_tc_count_msg = False
示例9: __init__
# 需要导入模块: from nose.plugins.base import Plugin [as 别名]
# 或者: from nose.plugins.base.Plugin import __init__ [as 别名]
def __init__(self):
Plugin.__init__(self)
self.dontrun = {}
self.times = {}
示例10: __init__
# 需要导入模块: from nose.plugins.base import Plugin [as 别名]
# 或者: from nose.plugins.base.Plugin import __init__ [as 别名]
def __init__(self):
Plugin.__init__(self)
self.testname = None
示例11: __init__
# 需要导入模块: from nose.plugins.base import Plugin [as 别名]
# 或者: from nose.plugins.base.Plugin import __init__ [as 别名]
def __init__(self):
Plugin.__init__(self)
self.dorun = set()
self.times = {}
示例12: __init__
# 需要导入模块: from nose.plugins.base import Plugin [as 别名]
# 或者: from nose.plugins.base.Plugin import __init__ [as 别名]
def __init__(self):
Plugin.__init__(self)
self._tests = []
示例13: __init__
# 需要导入模块: from nose.plugins.base import Plugin [as 别名]
# 或者: from nose.plugins.base.Plugin import __init__ [as 别名]
def __init__(self):
Plugin.__init__(self)
#: reference to an object that implements NoseDBReporterBase
#: this object is chosen based on the command line option --dbreport_db_type
self._other = None
self.logger = logging.getLogger("nose.plugins.nosedbreport")
示例14: __init__
# 需要导入模块: from nose.plugins.base import Plugin [as 别名]
# 或者: from nose.plugins.base.Plugin import __init__ [as 别名]
def __init__(self):
Plugin.__init__(self)
self.node_count = None
self.node_id = None
self.hash_ring = None
示例15: __init__
# 需要导入模块: from nose.plugins.base import Plugin [as 别名]
# 或者: from nose.plugins.base.Plugin import __init__ [as 别名]
def __init__(self):
self.identifier = None
Plugin.__init__(self)