当前位置: 首页>>代码示例>>Python>>正文


Python Plugin.__init__方法代码示例

本文整理汇总了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
开发者ID:johangozali,项目名称:holmium.core,代码行数:9,代码来源:noseplugin.py

示例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)
开发者ID:aali-dincloud,项目名称:cloudstack,代码行数:33,代码来源:marvinPlugin.py

示例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()
开发者ID:agrawalravi90,项目名称:pbspro,代码行数:9,代码来源:ptl_test_data.py

示例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
开发者ID:gajendrasharmagit,项目名称:pbspro,代码行数:10,代码来源:ptl_test_runner.py

示例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_'
开发者ID:Bhagat-Rajput,项目名称:pbspro,代码行数:12,代码来源:ptl_test_tags.py

示例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)
开发者ID:ebrahimsami01,项目名称:cloudstack,代码行数:15,代码来源:marvinPlugin.py

示例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 = []
开发者ID:agrawalravi90,项目名称:pbspro,代码行数:15,代码来源:ptl_test_loader.py

示例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
开发者ID:vinodchitrali,项目名称:pbspro,代码行数:19,代码来源:ptl_test_runner.py

示例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 = {}
开发者ID:Jaytanya,项目名称:pinocchio,代码行数:6,代码来源:stopwatch.py

示例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
开发者ID:adamgd,项目名称:pinocchio,代码行数:5,代码来源:figleaf_sections.py

示例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 = {}
开发者ID:eventbrite,项目名称:pinocchio,代码行数:6,代码来源:stopwatch.py

示例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 = []
开发者ID:DarumasLegs,项目名称:integrationtests,代码行数:5,代码来源:testEnum.py

示例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")
开发者ID:alisaifee,项目名称:nosedbreport,代码行数:8,代码来源:plugin.py

示例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
开发者ID:PolicyStat,项目名称:distributed-nose,代码行数:8,代码来源:plugin.py

示例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)
开发者ID:mba811,项目名称:incubator-cloudstack,代码行数:5,代码来源:marvinPlugin.py


注:本文中的nose.plugins.base.Plugin.__init__方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。