Home
last modified time | relevance | path

Searched refs:stub_with (Results 1 – 11 of 11) sorted by relevance

/external/autotest/server/
Dserver_job_unittest.py54 self.god.stub_with(server_job.os, 'mkdir', lambda p: None)
57 self.god.stub_with(server_job.logging_manager, 'get_logging_manager',
61 self.god.stub_with(server_job.sysinfo, 'sysinfo', lambda r: sysi())
Dautotest_unittest.py248 self.god.stub_with(autotest.Autotest, 'get_client_autodir_paths',
Dsubcommand_unittest.py355 self.god.stub_with(subcommand, 'subcommand', ctor)
/external/autotest/client/bin/
Dsetup_job_unittest.py27 self.god.stub_with(setup_job.setup_job, '_get_environ_autodir',
124 self.god.stub_with(logging_manager, 'configure_logging',
130 self.god.stub_with(logging_manager, 'get_logging_manager',
148 self.god.stub_with(base_job.job_directory, '_ensure_valid',
Djob_unittest.py32 self.god.stub_with(job.base_client_job, '_get_environ_autodir',
143 self.god.stub_with(logging_manager, 'configure_logging',
149 self.god.stub_with(logging_manager, 'get_logging_manager',
173 self.god.stub_with(job.base_job.job_directory, '_ensure_valid',
/external/autotest/client/common_lib/test_utils/
Dmock.py391 def stub_with(self, namespace, symbol, new_attribute): member in mock_god
411 self.stub_with(namespace, symbol, mock_attribute)
416 self.stub_with(cls, symbol, staticmethod(mock_attribute))
422 self.stub_with(namespace, symbol, mock_class)
433 self.stub_with(namespace, symbol,
/external/autotest/client/
Dsetup_modules_unittest.py17 self.god.stub_with(sys, 'stderr', self.test_stderr)
/external/autotest/server/hosts/
Dbase_classes_unittest.py17 self.god.stub_with(utils, "get_server_dir",
/external/autotest/frontend/afe/
Drpc_interface_unittest.py429 self.god.stub_with(frontend_wrappers, 'RetryingAFE', mock_afe)
450 self.god.stub_with(frontend_wrappers, 'RetryingAFE', mock_afe)
1150 self.god.stub_with(frontend_wrappers, 'RetryingAFE', mock_afe)
1160 self.god.stub_with(frontend_wrappers, 'RetryingAFE', mock_afe)
1214 self.god.stub_with(frontend_wrappers, 'RetryingAFE', mock_afe)
1262 self.god.stub_with(frontend_wrappers, 'RetryingAFE', mock_afe)
1303 self.god.stub_with(frontend_wrappers, 'RetryingAFE', mock_afe)
1326 self.god.stub_with(frontend_wrappers, 'RetryingAFE', mock_afe)
/external/autotest/database/
Ddatabase_connection_unittest.py49 self.god.stub_with(db, '_get_backend', get_fake_backend)
/external/autotest/client/common_lib/
Dutils_unittest.py401 self.god.stub_with(urllib.request, "urlopen", urlopen)
733 self.god.stub_with(utils.logging_manager, 'LoggingFile', logging_file)