Searched refs:stub_with (Results 1 – 11 of 11) sorted by relevance
/external/autotest/server/ |
D | server_job_unittest.py | 54 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())
|
D | autotest_unittest.py | 248 self.god.stub_with(autotest.Autotest, 'get_client_autodir_paths',
|
D | subcommand_unittest.py | 355 self.god.stub_with(subcommand, 'subcommand', ctor)
|
/external/autotest/client/bin/ |
D | setup_job_unittest.py | 27 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',
|
D | job_unittest.py | 32 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/ |
D | mock.py | 391 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/ |
D | setup_modules_unittest.py | 17 self.god.stub_with(sys, 'stderr', self.test_stderr)
|
/external/autotest/server/hosts/ |
D | base_classes_unittest.py | 17 self.god.stub_with(utils, "get_server_dir",
|
/external/autotest/frontend/afe/ |
D | rpc_interface_unittest.py | 429 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/ |
D | database_connection_unittest.py | 49 self.god.stub_with(db, '_get_backend', get_fake_backend)
|
/external/autotest/client/common_lib/ |
D | utils_unittest.py | 401 self.god.stub_with(urllib.request, "urlopen", urlopen) 733 self.god.stub_with(utils.logging_manager, 'LoggingFile', logging_file)
|