コード例 #1
0
 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
0
 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
0
ファイル: marvinPlugin.py プロジェクト: priestd09/cosmic
    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 = MarvinLog('marvin').get_logger()
        self.__testModName = ''
        self.__hypervisorType = None

        self.__halt_on_failure = False

        Plugin.__init__(self)
コード例 #4
0
 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
コード例 #5
0
 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()
コード例 #6
0
ファイル: ptl_test_data.py プロジェクト: agrawalravi90/pbspro
 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()
コード例 #7
0
ファイル: marvinPlugin.py プロジェクト: terod/cloudstack
 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)
コード例 #8
0
 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
コード例 #9
0
 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
コード例 #10
0
 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_'
コード例 #11
0
 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 = []
コード例 #12
0
 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)
コード例 #13
0
ファイル: ptl_test_loader.py プロジェクト: pepe5/pbspro
 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 = []
コード例 #14
0
ファイル: marvinPlugin.py プロジェクト: vlinhd11/cloudstack
 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.testResult = SUCCESS
     self.startTime = None
     self.testName = None
     self.tcRunLogger = None
     Plugin.__init__(self)
コード例 #15
0
 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
コード例 #16
0
 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
コード例 #17
0
 def __init__(self):
     Plugin.__init__(self)
     self.param = None
     self.use_cur_setup = False
     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
     self._test_marker = 'test_'
     self.hardware_report_timer = None
コード例 #18
0
 def __init__(self, configuration):
     self.configuration = configuration
     Plugin.__init__(self)
コード例 #19
0
 def __init__(self):
     self.identifier = None
     Plugin.__init__(self)
コード例 #20
0
 def __init__(self):
     self.name = 'figleafsections'
     Plugin.__init__(self)
     self.testname = None
コード例 #21
0
ファイル: test_regex_plugin.py プロジェクト: fzhurd/fzwork
 def __init__(self):
     Plugin.__init__(self)
     self.verbose = False
コード例 #22
0
ファイル: marvinPlugin.py プロジェクト: galaxyshen/cloudstack
 def __init__(self):
     Plugin.__init__(self)
コード例 #23
0
ファイル: attrib.py プロジェクト: JingzheTian/popcorn_maker
 def __init__(self):
     Plugin.__init__(self)
     self.attribs = []
コード例 #24
0
 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")
コード例 #25
0
ファイル: __init__.py プロジェクト: glamb/nose-html
 def __init__(self, *args, **kw):
     Plugin.__init__(self, *args, **kw)
     HTMLGenerator_mixin.__init__(self)
コード例 #26
0
ファイル: nose.py プロジェクト: iffy/alfajor
 def __init__(self):
     Plugin.__init__(self)
     self._contexts = []
コード例 #27
0
ファイル: noseplugin.py プロジェクト: Erguotou/holmium.core
 def __init__(self):
     Plugin.__init__(self)
     self.config = {}
     self.environment = None
     self.logger = log
コード例 #28
0
 def __init__(self):
    Plugin.__init__(self)
    self._gen       = 2
    self._gcPerCtxt = False
    self._gcPerDir  = False
    self._gcPerTest = False
コード例 #29
0
ファイル: marvinPlugin.py プロジェクト: ispypie/cshv3
 def __init__(self):
     self.identifier = None
     Plugin.__init__(self)
コード例 #30
0
 def __init__(self):
     Plugin.__init__(self)
     self.dorun = set()
     self.times = {}
コード例 #31
0
 def __init__(self, configuration):
     self.configuration = configuration
     Plugin.__init__(self)
コード例 #32
0
 def __init__(self):
     Plugin.__init__(self)
     self._tests = []
コード例 #33
0
ファイル: plugin.py プロジェクト: zyzlik/distributed-nose
    def __init__(self):
        Plugin.__init__(self)

        self.node_count = None
        self.node_id = None
        self.hash_ring = None
コード例 #34
0
 def __init__(self):
     Plugin.__init__(self)
コード例 #35
0
ファイル: plugin.py プロジェクト: whitemike889/nose-timeout
 def __init__(self):
     Plugin.__init__(self)
     self.timeout = 0
コード例 #36
0
ファイル: noseplugin.py プロジェクト: zehua/holmium.core
 def __init__(self):
     Plugin.__init__(self)
     self.config = {}
     self.environment = None
     self.logger = log
コード例 #37
0
 def __init__(self):
     Plugin.__init__(self)
     self.testname = None
コード例 #38
0
ファイル: plugin.py プロジェクト: PolicyStat/distributed-nose
    def __init__(self):
        Plugin.__init__(self)

        self.node_count = None
        self.node_id = None
        self.hash_ring = None
コード例 #39
0
ファイル: stopwatch.py プロジェクト: eventbrite/pinocchio
 def __init__(self):
     Plugin.__init__(self)
     self.dorun = set()
     self.times = {}
コード例 #40
0
ファイル: plugin.py プロジェクト: alisaifee/nosedbreport
 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")
コード例 #41
0
 def __init__(self):
     Plugin.__init__(self)
     self.dontrun = {}
     self.times = {}
コード例 #42
0
 def __init__(self):
     Plugin.__init__(self)
     self.attribs = []
コード例 #43
0
 def __init__(self, *args, **kw):
     Plugin.__init__(self, *args, **kw)
     HTMLGenerator_mixin.__init__(self)
コード例 #44
0
ファイル: nose_sections.py プロジェクト: 50wu/gpdb
 def __init__(self):
     self.name = 'figleafsections'
     Plugin.__init__(self)
     self.testname = None
コード例 #45
0
 def __init__(self):
     Plugin.__init__(self)
     self._contexts = []
コード例 #46
0
ファイル: sneaze.py プロジェクト: ronnix/Sneazr
 def __init__(self):
     Plugin.__init__(self)
     self.notifier = GrowlNotifier(applicationName='Sneazr', notifications=GROWL_NOTIFICATIONS_DEFAULT)
     self.notifier.register()
コード例 #47
0
 def __init__(self, data):
     self.data = data
     print "data plugin loaded"
     Plugin.__init__(self)