/external/autotest/frontend/afe/ |
D | moblab_rpc_interface_unittest.py | 50 self.mox.StubOutWithMock(utils, 'is_moblab') 103 self.mox.StubOutWithMock(__builtin__, 'open') 106 self.mox.StubOutWithMock(lsbrelease_utils, 'is_moblab') 147 self.mox.StubOutWithMock(__builtin__, 'open') 181 self.mox.StubOutWithMock(moblab_rpc_interface, '_get_network_info') 183 self.mox.StubOutWithMock(rpc_utils, 'prepare_for_serialization') 196 self.mox.StubOutWithMock(moblab_rpc_interface, '_get_network_info') 198 self.mox.StubOutWithMock(rpc_utils, 'prepare_for_serialization') 211 self.mox.StubOutWithMock(moblab_rpc_interface, '_get_network_info') 213 self.mox.StubOutWithMock(rpc_utils, 'prepare_for_serialization') [all …]
|
/external/autotest/site_utils/ |
D | server_manager_unittest.py | 86 self.mox.StubOutWithMock(server_manager_utils, 'check_server') 87 self.mox.StubOutWithMock(server_manager_utils, 'warn_missing_role') 88 self.mox.StubOutWithMock(server_manager_utils, 'use_server_db') 89 self.mox.StubOutWithMock(server_models.Server, 'get_role_names') 90 self.mox.StubOutWithMock(server_models.Server.objects, 'create') 91 self.mox.StubOutWithMock(server_models.Server.objects, 'filter') 92 self.mox.StubOutWithMock(server_models.Server.objects, 'get') 93 self.mox.StubOutWithMock(server_models.ServerRole, 'delete') 94 self.mox.StubOutWithMock(server_models.ServerRole.objects, 'create') 95 self.mox.StubOutWithMock(server_models.ServerRole.objects, 'filter') [all …]
|
D | pubsub_utils_unittest.py | 79 self.mox.StubOutWithMock(os.path, 'isfile') 87 self.mox.StubOutWithMock(os.path, 'isfile') 96 self.mox.StubOutWithMock(os.path, 'isfile') 97 self.mox.StubOutWithMock(GoogleCredentials, 'from_stream') 109 self.mox.StubOutWithMock(os.path, 'isfile') 110 self.mox.StubOutWithMock(GoogleCredentials, 'from_stream') 118 self.mox.StubOutWithMock(discovery, 'build') 133 self.mox.StubOutWithMock(os.path, 'isfile') 134 self.mox.StubOutWithMock(GoogleCredentials, 'from_stream') 142 self.mox.StubOutWithMock(discovery, 'build')
|
D | test_push_unittest.py | 48 self.mox.StubOutWithMock(urllib2, 'urlopen') 51 self.mox.StubOutWithMock(test_push, 'get_default_build') 57 self.mox.StubOutWithMock(test_push, 'check_dut_image') 61 self.mox.StubOutWithMock(test_push, 'do_run_suite') 66 self.mox.StubOutWithMock(site_utils, 'get_test_views_from_tko')
|
D | test_runner_utils_unittest.py | 114 self.mox.StubOutWithMock(os, 'makedirs') 115 self.mox.StubOutWithMock(utils, 'write_keyval') 116 self.mox.StubOutWithMock(subprocess, 'Popen') 191 self.mox.StubOutWithMock(test_runner_utils, 'fetch_local_suite') 198 self.mox.StubOutWithMock(test_runner_utils, 'run_job') 199 self.mox.StubOutWithMock(test_runner_utils, 'run_provisioning_job') 200 self.mox.StubOutWithMock(test_runner_utils, '_auto_detect_labels')
|
D | cloud_console_client_unittest.py | 34 self.mox.StubOutWithMock(utils, 'get_moblab_id') 35 self.mox.StubOutWithMock(utils, 70 self.mox.StubOutWithMock(cloud_console_client.PubSubBasedClient,
|
D | gs_offloader_unittest.py | 76 self.mox.StubOutWithMock(utils, 'get_offload_gsuri') 94 self.mox.StubOutWithMock(gs_offloader, 'GSOffloader') 95 self.mox.StubOutWithMock(cloud_console_client, 243 self.mox.StubOutWithMock(pubsub_utils, "PubSubClient") 480 self.mox.StubOutWithMock(job_directories._AFE, 'get_jobs') 481 self.mox.StubOutWithMock(job_directories._AFE, 483 self.mox.StubOutWithMock(job_directories._AFE, 789 self.mox.StubOutWithMock(gs_offloader, '_get_cmd_list') 793 self.mox.StubOutWithMock(models.test, 'parse_job_keyval') 801 self.mox.StubOutWithMock(gs_offloader, '_upload_cts_testresult') [all …]
|
/external/autotest/client/common_lib/cros/ |
D | autoupdater_unittest.py | 46 self.mox.StubOutWithMock(updater.host, 'get_release_version') 55 self.mox.StubOutWithMock(updater.host, 'get_release_version') 64 self.mox.StubOutWithMock(updater.host, 'get_release_version') 72 self.mox.StubOutWithMock(updater.host, 'get_release_version') 97 self.mox.StubOutWithMock(updater.host, 'get_release_version') 106 self.mox.StubOutWithMock(updater.host, 'get_release_version') 115 self.mox.StubOutWithMock(updater.host, 'get_release_version') 123 self.mox.StubOutWithMock(updater.host, 'get_release_version') 148 self.mox.StubOutWithMock(updater.host, 'get_release_version') 157 self.mox.StubOutWithMock(updater.host, 'get_release_version') [all …]
|
D | dev_server_unittest.py | 93 self.mox.StubOutWithMock(urllib2, 'urlopen') 94 self.mox.StubOutWithMock(utils, 'run') 145 self.mox.StubOutWithMock(utils, 'get_restricted_subnet') 162 self.mox.StubOutWithMock(utils, 'get_restricted_subnet') 180 self.mox.StubOutWithMock(utils, 'get_restricted_subnet') 209 self.mox.StubOutWithMock(utils, 'get_restricted_subnet') 252 self.mox.StubOutWithMock(dev_server.ImageServerBase, 'run_call') 253 self.mox.StubOutWithMock(urllib2, 'urlopen') 254 self.mox.StubOutWithMock(utils, 'run') 255 self.mox.StubOutWithMock(os.path, 'exists') [all …]
|
/external/autotest/server/hosts/ |
D | testbed_unittest.py | 33 self.mox.StubOutWithMock(host, 'get_device_aliases') 35 self.mox.StubOutWithMock(testbed_1, 'get_adb_devices') 57 self.mox.StubOutWithMock(host, 'get_device_aliases') 59 self.mox.StubOutWithMock(testbed_1, 'get_adb_devices') 79 self.mox.StubOutWithMock(host, 'get_device_aliases') 81 self.mox.StubOutWithMock(testbed_1, 'get_adb_devices') 103 self.mox.StubOutWithMock(host, 'get_device_aliases') 105 self.mox.StubOutWithMock(testbed_1, 'get_adb_devices') 125 self.mox.StubOutWithMock(hosts[i], 'get_device_aliases') 128 self.mox.StubOutWithMock(hosts[i], 'get_device_aliases') [all …]
|
/external/autotest/site_utils/suite_scheduler/ |
D | manifest_versions_unittest.py | 75 self.mox.StubOutWithMock(self.mv, '_Clone') 76 self.mox.StubOutWithMock(time, 'sleep') 84 self.mox.StubOutWithMock(self.mv, '_Clone') 85 self.mox.StubOutWithMock(time, 'sleep') 98 self.mox.StubOutWithMock(self.mv, '_Clone') 99 self.mox.StubOutWithMock(time, 'sleep') 124 self.mox.StubOutWithMock(self.mv, '_ExpandGlobMinusPrefix') 133 self.mox.StubOutWithMock(manifest_versions, '_SystemOutput') 146 self.mox.StubOutWithMock(manifest_versions, '_SystemOutput') 167 self.mox.StubOutWithMock(manifest_versions, '_SystemOutput') [all …]
|
D | deduping_scheduler_unittest.py | 47 self.mox.StubOutWithMock(site_utils, 'check_lab_status') 277 self.mox.StubOutWithMock(reporting.Reporter, '__init__') 278 self.mox.StubOutWithMock(reporting.Reporter, '_create_bug_report') 279 self.mox.StubOutWithMock(reporting.Reporter, '_check_tracker') 280 self.mox.StubOutWithMock(reporting.Reporter, '_find_issue_by_marker') 281 self.mox.StubOutWithMock(site_utils, 'get_sheriffs')
|
D | driver_unittest.py | 56 self.mox.StubOutWithMock(timed_event.Nightly, 'CreateFromConfig') 57 self.mox.StubOutWithMock(timed_event.Weekly, 'CreateFromConfig') 58 self.mox.StubOutWithMock(build_event.NewBuild, 'CreateFromConfig') 78 self.mox.StubOutWithMock(task.Task, 'CreateFromConfigSection') 165 self.mox.StubOutWithMock(task.Task, 'CreateFromConfigSection')
|
/external/autotest/site_utils/rpm_control_system/ |
D | utils_unittest.py | 22 self.mox.StubOutWithMock(__builtin__, 'open') 46 self.mox.StubOutWithMock(utils, 'load_servo_interface_mapping') 47 self.mox.StubOutWithMock(os.path, 'getmtime') 106 self.mox.StubOutWithMock(time, 'time') 127 self.mox.StubOutWithMock(time, 'time')
|
D | rpm_controller_unittest.py | 185 self.mox.StubOutWithMock(pexpect.spawn, '_spawn') 186 self.mox.StubOutWithMock(pexpect.spawn, 'read_nonblocking') 187 self.mox.StubOutWithMock(pexpect.spawn, 'sendline') 222 self.mox.StubOutWithMock(pexpect.spawn, '__str__') 261 self.mox.StubOutWithMock(pexpect.spawn, '__str__') 262 self.mox.StubOutWithMock(rpm_controller.CiscoPOEController, 281 self.mox.StubOutWithMock(pexpect.spawn, '__str__') 282 self.mox.StubOutWithMock(rpm_controller.CiscoPOEController, 284 self.mox.StubOutWithMock(rpm_controller.CiscoPOEController,
|
/external/autotest/server/cros/dynamic_suite/ |
D | suite_unittest.py | 123 self.mox.StubOutWithMock(control_data, 'parse_control_string') 143 self.mox.StubOutWithMock(control_data, 'parse_control_string') 267 self.mox.StubOutWithMock(SuiteBase, 'find_and_parse_tests') 293 self.mox.StubOutWithMock(suite, '_remember_job_keyval') 369 self.mox.StubOutWithMock(utils, 'write_keyval') 388 self.mox.StubOutWithMock(utils, 'write_keyval') 409 self.mox.StubOutWithMock(utils, 'write_keyval') 431 self.mox.StubOutWithMock(utils, 'write_keyval') 451 self.mox.StubOutWithMock(utils, 'write_keyval') 486 self.mox.StubOutWithMock(utils, 'write_keyval') [all …]
|
D | reporting_unittest.py | 98 self.mox.StubOutWithMock(reporting.Reporter, '_find_issue_by_marker') 99 self.mox.StubOutWithMock(reporting.TestBug, 'summary') 123 self.mox.StubOutWithMock(reporting.Reporter, '_find_issue_by_marker') 124 self.mox.StubOutWithMock(reporting.TestBug, 'summary') 167 self.mox.StubOutWithMock(reporting.Reporter, '_find_issue_by_marker') 168 self.mox.StubOutWithMock(reporting.TestBug, 'summary') 190 self.mox.StubOutWithMock(reporting.Reporter, '_find_issue_by_marker')
|
D | job_status_unittest.py | 84 self.mox.StubOutWithMock(time, 'sleep') 141 self.mox.StubOutWithMock(time, 'sleep')
|
D | tools_unittest.py | 109 self.mox.StubOutWithMock(tools, 'infrastructure_user')
|
/external/autotest/client/common_lib/cros/fake_device_server/ |
D | registration_tickets_unittest.py | 68 self.mox.StubOutWithMock(common_util, 'parse_serialized_json') 70 self.mox.StubOutWithMock(common_util, 'grab_header_field') 96 self.mox.StubOutWithMock(common_util, 'parse_serialized_json') 111 self.mox.StubOutWithMock(common_util, 'parse_serialized_json')
|
D | resource_method_unittest.py | 36 self.mox.StubOutWithMock(common_util, 'parse_serialized_json') 51 self.mox.StubOutWithMock(common_util, 'parse_serialized_json')
|
/external/autotest/server/ |
D | lab_status_unittest.py | 119 self.mox.StubOutWithMock(urllib2, 'urlopen') 120 self.mox.StubOutWithMock(time, 'sleep') 301 self.mox.StubOutWithMock(global_config.global_config, 303 self.mox.StubOutWithMock(site_utils, '_get_lab_status')
|
/external/autotest/client/cros/cellular/wardmodem/ |
D | at_transceiver_unittest.py | 294 self._mox.StubOutWithMock(self._at_transceiver, 340 self._mox.StubOutWithMock(self._at_transceiver, 408 self._mox.StubOutWithMock(self._at_transceiver, 460 self._mox.StubOutWithMock(self._at_transceiver, 482 self._mox.StubOutWithMock(self._at_transceiver,
|
/external/autotest/server/cros/ |
D | host_lock_manager_unittest.py | 181 self.mox.StubOutWithMock(self.manager, '_check_host') 198 self.mox.StubOutWithMock(self.manager, '_check_host') 213 self.mox.StubOutWithMock(self.manager, '_check_host')
|
/external/autotest/site_utils/sponge_lib/ |
D | sponge_utils_functional_test.py | 103 self.mox.StubOutWithMock(models.test, 'parse_job_keyval')
|