HomeSort by relevance Sort by last modified time
    Searched refs:stub_with (Results 1 - 25 of 26) sorted by null

1 2

  /external/autotest/scheduler/
monitor_db_cleanup_test.py 27 self.god.stub_with(scheduler_config.config,
39 self.god.stub_with(self.cleanup, '_should_reverify_hosts_now',
53 self.god.stub_with(scheduler_config.config,
65 self.god.stub_with(self.cleanup, '_should_reverify_hosts_now',
drones_unittest.py 39 self.god.stub_with(drones._RemoteDrone, '_drone_utility_path',
57 self.god.stub_with(drones._RemoteDrone, '_drone_utility_path',
drone_manager_unittest.py 80 self.god.stub_with(drones, 'AUTOTEST_INSTALL_DIR',
83 self.god.stub_with(self.manager, '_results_dir', self._RESULTS_DIR)
90 self.god.stub_with(self.manager, 'refresh_drone_configs', do_nothing)
336 self.god.stub_with(self.manager, '_get_max_pidfile_refreshes',
375 self.god.stub_with(drones, 'AUTOTEST_INSTALL_DIR',
378 self.god.stub_with(self.manager, '_results_dir', self._RESULTS_DIR)
385 self.god.stub_with(self.manager, 'refresh_drone_configs', do_nothing)
399 self.god.stub_with(self._DRONE_CLASS, '_drone_utility_path',
452 self.god.stub_with(drone_manager, '_the_instance', self.manager)
492 self.god.stub_with(local_drone, '_host', mock_host
    [all...]
rdb_cache_unittests.py 112 self.god.stub_with(rdb.AvailableHostRequestHandler,
162 self.god.stub_with(rdb.AvailableHostRequestHandler,
192 self.god.stub_with(rdb.AvailableHostRequestHandler,
236 self.god.stub_with(rdb.AvailableHostRequestHandler,
314 self.god.stub_with(
338 self.god.stub_with(rdb.AvailableHostRequestHandler,
monitor_db_unittest.py 101 self.god.stub_with(global_config, 'global_config', self.mock_config)
113 self.god.stub_with(connection_manager, 'db_connection', self._database)
114 self.god.stub_with(monitor_db, '_db_manager', connection_manager)
115 self.god.stub_with(monitor_db, '_db', self._database)
117 self.god.stub_with(monitor_db.Dispatcher,
120 self.god.stub_with(scheduler_models, '_db', self._database)
121 self.god.stub_with(drone_manager.instance(), '_results_dir',
123 self.god.stub_with(drone_manager.instance(), '_temporary_directory',
125 self.god.stub_with(drone_manager.instance(), 'initialize',
127 self.god.stub_with(drone_manager.instance(), 'execute_actions'
    [all...]
rdb_integration_tests.py 162 self.god.stub_with(rdb.AvailableHostQueryManager, 'find_hosts',
327 self.god.stub_with(rdb_requests.BaseHostRequestManager, 'response',
356 self.god.stub_with(rdb_requests.BaseHostRequestManager, 'response',
434 self.god.stub_with(rdb_requests.BaseHostRequestManager, 'response',
512 self.god.stub_with(rdb_requests.BaseHostRequestManager, 'response',
522 self.god.stub_with(provision.Cleanup,
drone_task_queue_unittest.py 46 self.god.stub_with(drones._RemoteDrone, '_drone_utility_path',
rdb_testing_utils.py 362 self.god.stub_with(connection_manager, 'db_connection', self._database)
363 self.god.stub_with(monitor_db, '_db_manager', connection_manager)
364 self.god.stub_with(scheduler_models, '_db', self._database)
365 self.god.stub_with(monitor_db, '_inline_host_acquisition',
scheduler_models_unittest.py 38 self.god.stub_with(scheduler_models, '_db', self._database)
115 self.god.stub_with(scheduler_models, 'Job', MockJob)
327 self.god.stub_with(models.SpecialTask.objects, 'create', _mock_create)
thread_lib_unittest.py 47 self.god.stub_with(drones._RemoteDrone, '_drone_utility_path',
monitor_db_functional_test.py 336 self.god.stub_with(global_config, 'global_config', self.mock_config)
342 self.god.stub_with(email_manager, 'manager', self.mock_email_manager)
348 self.god.stub_with(monitor_db, '_db', self._database)
349 self.god.stub_with(scheduler_models, '_db', self._database)
    [all...]
host_scheduler_unittests.py 235 self.god.stub_with(monitor_db, '_inline_host_acquisition', False)
  /external/autotest/server/
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())
autotest_unittest.py 245 self.god.stub_with(autotest.Autotest, 'get_client_autodir_paths',
subcommand_unittest.py 348 self.god.stub_with(subcommand, 'subcommand', ctor)
  /external/autotest/client/bin/
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',
job_unittest.py 30 self.god.stub_with(job.base_client_job, '_get_environ_autodir',
141 self.god.stub_with(logging_manager, 'configure_logging',
147 self.god.stub_with(logging_manager, 'get_logging_manager',
171 self.god.stub_with(job.base_job.job_directory, '_ensure_valid',
  /external/autotest/client/
setup_modules_unittest.py 17 self.god.stub_with(sys, 'stderr', self.test_stderr)
  /external/autotest/server/hosts/
base_classes_unittest.py 17 self.god.stub_with(utils, "get_server_dir",
  /external/autotest/client/common_lib/test_utils/
mock.py 391 def stub_with(self, namespace, symbol, new_attribute): member in class: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/cli/
cli_mock.py 51 self.god.stub_with(rpc_client_lib, 'authorization_headers',
  /external/autotest/scheduler/shard/
shard_client_integration_tests.py 77 self.god.stub_with(scheduler_models.HostQueueEntry, 'update_field',
  /external/autotest/database/
database_connection_unittest.py 49 self.god.stub_with(db, '_get_backend', get_fake_backend)
  /external/autotest/frontend/afe/
rpc_interface_unittest.py 429 self.god.stub_with(frontend_wrappers, 'RetryingAFE', mock_afe)
450 self.god.stub_with(frontend_wrappers, 'RetryingAFE', mock_afe)
    [all...]
  /external/autotest/client/bin/net/
net_utils_unittest.py 25 self.god.stub_with(net_utils,"bond", net_utils.bonding)
26 self.god.stub_with(os, 'open', net_utils_mock.os_open)
27 self.god.stub_with(net_utils, 'netif', net_utils_mock.netutils_netif)
    [all...]

Completed in 538 milliseconds

1 2