def run(port, options, args, printer): _set_up_derived_options(port, options, args) manager = Manager(port, options, printer) printer.print_config(port) run_details = manager.run(args) _log.debug('') _log.debug('Testing completed. Exit status: %d', run_details.exit_code) printer.flush() return run_details
def get_manager(port): manager = Manager(port, options=optparse.Values({ 'http': True, 'max_locked_shards': 1 }), printer=FakePrinter()) return manager
def get_manager(): host = MockHost() port = host.port_factory.get('test-mac-mac10.10') manager = Manager(port, options=optparse.Values({ 'http': True, 'max_locked_shards': 1 }), printer=FakePrinter()) return manager
def _run_tests(port, options, args, printer): _set_up_derived_options(port, options, args) manager = Manager(port, options, printer) printer.print_config(port.results_directory()) return manager.run(args)