def setUp(self): mock_port = Mock() # FIXME: The Driver should not be grabbing at port._options! mock_port._options = Mock() mock_port._options.wrapper = "" self.driver = chromium.ChromiumDriver(mock_port, image_path=None, options=None)
def setUp(self): host = MockSystemHost() options = MockOptions(configuration='Release', additional_drt_flag=['--test-shell']) config = MockConfig(filesystem=host.filesystem, default_configuration='Release') self.port = chromium_mac.ChromiumMacPort(host, 'chromium-mac-snowleopard', options=options, config=config) self.driver = chromium.ChromiumDriver(self.port, worker_number=0, pixel_tests=True)
def setUp(self): mock_port = Mock() mock_port.get_option = lambda option_name: '' self.driver = chromium.ChromiumDriver(mock_port, worker_number=0)
def setUp(self): mock_port = Mock() # FIXME: This should use a tighter mock. self.driver = chromium.ChromiumDriver(mock_port, worker_number=0, pixel_tests=True)