Exemplo n.º 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
Exemplo n.º 2
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
Exemplo n.º 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))
Exemplo n.º 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
Exemplo n.º 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))
Exemplo n.º 6
0
 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
Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 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)
Exemplo n.º 15
0
 def __init__(self):
     Plugin.__init__(self)
     self.server_started = False
     self.server_thread = None
Exemplo n.º 16
0
 def __init__(self):
     Plugin.__init__(self)
     self.current_module = None
Exemplo n.º 17
0
 def __init__(self):
     Plugin.__init__(self)
 def __init__(self):
     """Constructor"""
     Plugin.__init__(self)
     self.verbose = False
Exemplo n.º 19
0
 def __init__(self):
     Plugin.__init__(self)
     self.filetypes = list(self.python_files)
Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 24
0
 def __init__(self):
     """Constructor"""
     Plugin.__init__(self)
     self.verbose = False
Exemplo n.º 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
Exemplo n.º 26
0
 def __init__(self):
     Plugin.__init__(self)
     self.results = []
Exemplo n.º 27
0
 def __init__(self):
     Plugin.__init__(self)
Exemplo n.º 28
0
 def __init__(self):
     Plugin.__init__(self)
     self.current_module = None
Exemplo n.º 29
0
 def __init__(self):
     Plugin.__init__(self)
     self.server_started = False
     self.server_thread = None
Exemplo n.º 30
0
 def __init__(self, alternative_stream=None):
     Plugin.__init__(self)
     #==
     self.alternative_stream = alternative_stream
Exemplo n.º 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
Exemplo n.º 34
0
 def __init__(self, alternative_stream=None):
     Plugin.__init__(self)
     #==
     self.alternative_stream = alternative_stream
Exemplo n.º 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
Exemplo n.º 37
0
 def __init__(self):
     """Constructor"""
     Plugin.__init__(self)
     self.current_module = None
Exemplo n.º 38
0
 def __init__(self, tzope):
     Plugin.__init__(self)
     self.tzope = tzope
     self.cleanup_portal_layer = None
     self.cleanup_test_layer = None
Exemplo n.º 39
0
 def __init__(self):
     Plugin.__init__(self)
     self.nose_config = None
     self.django_plugins = []
Exemplo n.º 40
0
 def __init__(self):
     Plugin.__init__(self)
     self.patcher = MonkeyPatcher()
     self.directories_to_skip = set([
         os.path.join(settings.PROJECT_ROOT, 'libs'),
     ])
Exemplo n.º 41
0
	def __init__(self):
		Plugin.__init__(self)
		self.verbose = False
Exemplo n.º 42
0
 def __init__(self, tzope):
     Plugin.__init__(self)
     self.tzope = tzope
     self.cleanup_portal_layer = None
     self.cleanup_test_layer = None