示例#1
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
示例#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
    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
 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
 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
    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
    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
 def __init__(self):
     Plugin.__init__(self)
     self.current_module = None
 def __init__(self):
     Plugin.__init__(self)
 def __init__(self):
     """Constructor"""
     Plugin.__init__(self)
     self.verbose = False
示例#19
0
 def __init__(self):
     Plugin.__init__(self)
     self.filetypes = list(self.python_files)
示例#20
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
示例#21
0
 def __init__(self):
     Plugin.__init__(self)
     self.ccs = []
     self.container_started = False
 def __init__(self):
     Plugin.__init__(self)
     self.results = []
 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 = []
 def __init__(self):
     """Constructor"""
     Plugin.__init__(self)
     self.results = []        
 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
 def __init__(self):
     Plugin.__init__(self)
     self.ccs = []
     self.container_started = False
 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
 def __init__(self, tzope):
     Plugin.__init__(self)
     self.tzope = tzope
     self.cleanup_portal_layer = None
     self.cleanup_test_layer = None
示例#39
0
 def __init__(self):
     Plugin.__init__(self)
     self.nose_config = None
     self.django_plugins = []
示例#40
0
 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
 def __init__(self, tzope):
     Plugin.__init__(self)
     self.tzope = tzope
     self.cleanup_portal_layer = None
     self.cleanup_test_layer = None