示例#1
0
class ProcessedRunner(BaseRunner):
    "Run tests using fork in different processes."
    def __init__(self, max_processes=1):
        from processed_helper import ProcessedRunnerHelper
        BaseRunner.__init__(self)
        self._helper = ProcessedRunnerHelper(max_processes)

    def run(self, fixture):
        BaseRunner.run(self, fixture)
        self._helper.register_fixture(fixture)

    def done(self):
        self._helper.start(self.reporter)
        BaseRunner.done(self)
示例#2
0
class ProcessedRunner(BaseRunner):
    "Run tests using fork in different processes."

    def __init__(self, max_processes=1):
        from processed_helper import ProcessedRunnerHelper
        BaseRunner.__init__(self)
        self._helper = ProcessedRunnerHelper(max_processes)

    def run(self, fixture):
        BaseRunner.run(self, fixture)
        self._helper.register_fixture(fixture)

    def done(self):
        self._helper.start(self.reporter)
        BaseRunner.done(self)
示例#3
0
 def __init__(self, max_processes=1):
     from processed_helper import ProcessedRunnerHelper
     BaseRunner.__init__(self)
     self._helper = ProcessedRunnerHelper(max_processes)
示例#4
0
 def __init__(self, max_processes=1):
     from processed_helper import ProcessedRunnerHelper
     BaseRunner.__init__(self)
     self._helper = ProcessedRunnerHelper(max_processes)