コード例 #1
0
ファイル: pycc_plugin.py プロジェクト: rumineykova/pyon
 def __init__(self):
     Plugin.__init__(self)
     self.ccs = []
     self.container_started = False
     self.blames = {"scidata": [], "state": [], "directory": [], "events": [], "resources": [], "objects": []}
     self.last_blame = {}
     self.sysname = None
コード例 #2
0
ファイル: iptest.py プロジェクト: Cadair/ipython
 def __init__(self):
     Plugin.__init__(self)
     self.stream_capturer = StreamCapturer()
     self.destination = os.environ.get('IPTEST_SUBPROC_STREAMS', 'capture')
     # This is ugly, but distant parts of the test machinery need to be able
     # to redirect streams, so we make the object globally accessible.
     nose.iptest_stdstreams_fileno = self.get_write_fileno
コード例 #3
0
    def __init__(self):
        Plugin.__init__(self)
        import uuid
        self.ds_name = "queueblame-%s" % str(uuid.uuid4())[0:6]

        from collections import defaultdict
        self.queues_by_test = defaultdict(lambda: defaultdict(dict))
コード例 #4
0
 def __init__(self):
     Plugin.__init__(self)
     self.stream_capturer = StreamCapturer()
     self.destination = os.environ.get("IPTEST_SUBPROC_STREAMS", "capture")
     # This is ugly, but distant parts of the test machinery need to be able
     # to redirect streams, so we make the object globally accessible.
     nose.iptest_stdstreams_fileno = self.get_write_fileno
コード例 #5
0
ファイル: queueblame_plugin.py プロジェクト: swarbhanu/pyon
    def __init__(self):
        Plugin.__init__(self)
        import uuid
        self.ds_name = "queueblame-%s" % str(uuid.uuid4())[0:6]

        from collections import defaultdict
        self.queues_by_test = defaultdict(lambda: defaultdict(dict))
コード例 #6
0
ファイル: plugin.py プロジェクト: bscoder/unisubs
 def __init__(self):
     Plugin.__init__(self)
     self.patcher = monkeypatch.MonkeyPatcher()
     self.directories_to_skip = set([
         os.path.join(settings.PROJECT_ROOT, 'libs'),
     ])
     self.vdisplay = None
     self.include_webdriver_tests = False
コード例 #7
0
 def __init__(self):
     Plugin.__init__(self)
     self.ccs = []
     self.container_started = False
     self.blames = {'scidata':[], 'state':[], 'directory':[], 'events':[],
             'resources':[], 'objects':[]}
     self.last_blame = {}
     self.sysname = None
コード例 #8
0
ファイル: pycc_plugin.py プロジェクト: jamie-cyber1/pyon
 def __init__(self):
     Plugin.__init__(self)
     self.ccs = []
     self.container_started = False
     self.blames = {'scidata':[], 'state':[], 'directory':[], 'events':[],
             'resources':[], 'objects':[]}
     self.last_blame = {}
     self.sysname = None
コード例 #9
0
 def __init__(self):
     Plugin.__init__(self)
     self.execution_guid = str(uuid.uuid4())
     self.testcase_guid = None
     self.execution_start_time = 0
     self.case_start_time = 0
     self.application = None
     self.testcase_manager = None
     self.error_handled = False
コード例 #10
0
    def __init__(self):
        Plugin.__init__(self)
        self.nose_config = None
        self.django_plugins = []

        self._loaded_test_fixtures = []
        self._num_fixture_loads = 0
        self._num_flush_calls = 0
        self._num_syncdb_calls = 0
コード例 #11
0
ファイル: nosedjango.py プロジェクト: WoLpH/nosedjango
    def __init__(self):
        Plugin.__init__(self)
        self.nose_config = None
        self.django_plugins = []

        self._loaded_test_fixtures = []
        self._num_fixture_loads = 0
        self._num_flush_calls = 0
        self._num_syncdb_calls = 0
コード例 #12
0
 def __init__(self):
     Plugin.__init__(self)
     self.execution_guid = str(uuid.uuid4())
     self.testcase_guid = None
     self.execution_start_time = 0
     self.case_start_time = 0
     self.application = None
     self.testcase_manager = None
     self.error_handled = False
コード例 #13
0
    def __init__(self):
        """initialize some variables"""
        Plugin.__init__(self)
        self.testcase_guid = None
        self.execution_start_time = 0
        self.case_start_time = 0
        self.application = None
        self.testcase_manager = None

        self.error_handled = False
コード例 #14
0
ファイル: mp7loader.py プロジェクト: herbberg/mp7fw_v2_4_1
    def __init__(self):
        try:
            env.boardId = sys.argv[1]
            if env.boardId == "-h":
                print "Syntax: mp7jeeves BOARDID --optionals"
                return
            sys.argv.pop(1)
        except:
            print "Is that the right command structure? (mp7jeeves BOARDID --optionals)"
            raise

        Plugin.__init__(self)
コード例 #15
0
 def __init__(self):
     Plugin.__init__(self)
     self.server_started = False
     self.server_thread = None
コード例 #16
0
ファイル: recipe26_plugin.py プロジェクト: almacro/snippets
 def __init__(self):
     Plugin.__init__(self)
     self.current_module = None
コード例 #17
0
 def __init__(self):
     Plugin.__init__(self)
コード例 #18
0
 def __init__(self):
     """Constructor"""
     Plugin.__init__(self)
     self.verbose = False
コード例 #19
0
ファイル: nose_watcher.py プロジェクト: solarnz/nose-watcher
 def __init__(self):
     Plugin.__init__(self)
     self.filetypes = list(self.python_files)
コード例 #20
0
ファイル: iptest.py プロジェクト: Gwillink/ipython
 def __init__(self):
     Plugin.__init__(self)
     self.stream_capturer = StreamCapturer()
     # This is ugly, but distant parts of the test machinery need to be able
     # to redirect streams, so we make the object globally accessible.
     nose.ipy_stream_capturer = self.stream_capturer
コード例 #21
0
ファイル: pycc_plugin.py プロジェクト: ooici-dm/pyon
 def __init__(self):
     Plugin.__init__(self)
     self.ccs = []
     self.container_started = False
コード例 #22
0
 def __init__(self):
     Plugin.__init__(self)
     self.results = []
コード例 #23
0
 def __init__(self, tzope):
     Plugin.__init__(self)
     self.tzope = tzope
     self.naaya_started = False
コード例 #24
0
 def __init__(self):
     """Constructor"""
     Plugin.__init__(self)
     self.verbose = False
コード例 #25
0
 def __init__(self):
     Plugin.__init__(self)
     self.stream_capturer = StreamCapturer()
     # This is ugly, but distant parts of the test machinery need to be able
     # to redirect streams, so we make the object globally accessible.
     nose.ipy_stream_capturer = self.stream_capturer
コード例 #26
0
 def __init__(self):
     Plugin.__init__(self)
     self.results = []
コード例 #27
0
 def __init__(self):
     Plugin.__init__(self)
コード例 #28
0
 def __init__(self):
     Plugin.__init__(self)
     self.current_module = None
コード例 #29
0
 def __init__(self):
     Plugin.__init__(self)
     self.server_started = False
     self.server_thread = None
コード例 #30
0
 def __init__(self, alternative_stream=None):
     Plugin.__init__(self)
     #==
     self.alternative_stream = alternative_stream
コード例 #31
0
 def __init__(self):
     """Constructor"""
     Plugin.__init__(self)
     self.results = []
コード例 #32
0
 def __init__(self):
     """Constructor"""
     Plugin.__init__(self)
     self.results = []        
コード例 #33
0
 def __init__(self):
     Plugin.__init__(self)
     self.verbose = False
コード例 #34
0
 def __init__(self, alternative_stream=None):
     Plugin.__init__(self)
     #==
     self.alternative_stream = alternative_stream
コード例 #35
0
ファイル: pycc_plugin.py プロジェクト: ooici-dm/pyon
 def __init__(self):
     Plugin.__init__(self)
     self.ccs = []
     self.container_started = False
コード例 #36
0
 def __init__(self):
     """Constructor"""
     Plugin.__init__(self)
     self.current_module = None
コード例 #37
0
 def __init__(self):
     """Constructor"""
     Plugin.__init__(self)
     self.current_module = None
コード例 #38
0
ファイル: NaayaTestCase.py プロジェクト: eaudeweb/trunk-eggs
 def __init__(self, tzope):
     Plugin.__init__(self)
     self.tzope = tzope
     self.cleanup_portal_layer = None
     self.cleanup_test_layer = None
コード例 #39
0
ファイル: nosedjango.py プロジェクト: jlward/nosedjango
 def __init__(self):
     Plugin.__init__(self)
     self.nose_config = None
     self.django_plugins = []
コード例 #40
0
ファイル: test_utils.py プロジェクト: itsbenweeks/Amara
 def __init__(self):
     Plugin.__init__(self)
     self.patcher = MonkeyPatcher()
     self.directories_to_skip = set([
         os.path.join(settings.PROJECT_ROOT, 'libs'),
     ])
コード例 #41
0
	def __init__(self):
		Plugin.__init__(self)
		self.verbose = False
コード例 #42
0
ファイル: NaayaTestCase.py プロジェクト: eaudeweb/trunk-eggs
 def __init__(self, tzope):
     Plugin.__init__(self)
     self.tzope = tzope
     self.cleanup_portal_layer = None
     self.cleanup_test_layer = None