Searched refs:StubOutWithMock (Results 1 – 21 of 21) sorted by relevance
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 …]
126 self.mox.StubOutWithMock(models.Host, '_assign_to_shard_nothing_helper')226 self.mox.StubOutWithMock(server_utils, 'read_file')1436 self.mox.StubOutWithMock(control_file_getter.DevServerGetter,1454 self.mox.StubOutWithMock(rpc_utils, 'create_job_common')
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 …]
82 self.mox.StubOutWithMock(os.path, 'isfile')90 self.mox.StubOutWithMock(os.path, 'isfile')99 self.mox.StubOutWithMock(os.path, 'isfile')100 self.mox.StubOutWithMock(GoogleCredentials, 'from_stream')112 self.mox.StubOutWithMock(os.path, 'isfile')113 self.mox.StubOutWithMock(GoogleCredentials, 'from_stream')121 self.mox.StubOutWithMock(discovery, 'build')136 self.mox.StubOutWithMock(os.path, 'isfile')137 self.mox.StubOutWithMock(GoogleCredentials, 'from_stream')145 self.mox.StubOutWithMock(discovery, 'build')
35 self.mox.StubOutWithMock(utils,39 self.mox.StubOutWithMock(utils, 'get_moblab_id')69 self.mox.StubOutWithMock(cloud_console_client.PubSubBasedClient,88 self.mox.StubOutWithMock(utils, 'get_moblab_id')109 self.mox.StubOutWithMock(utils, 'get_moblab_id')
51 self.mox.StubOutWithMock(urllib.request, 'urlopen')54 self.mox.StubOutWithMock(test_push, 'check_dut_image')58 self.mox.StubOutWithMock(test_push, 'do_run_suite')63 self.mox.StubOutWithMock(site_utils, 'get_test_views_from_tko')
99 self.mox.StubOutWithMock(test_runner_utils.LocalSuite,122 self.mox.StubOutWithMock(test_runner_utils.LocalSuite,231 self.mox.StubOutWithMock(test_runner_utils, 'fetch_local_suite')239 self.mox.StubOutWithMock(test_runner_utils, 'run_job')240 self.mox.StubOutWithMock(test_runner_utils, 'run_provisioning_job')241 self.mox.StubOutWithMock(test_runner_utils, '_auto_detect_labels')
94 self.mox.StubOutWithMock(utils, 'get_offload_gsuri')112 self.mox.StubOutWithMock(gs_offloader, 'GSOffloader')114 self.mox.StubOutWithMock(cloud_console_client,265 self.mox.StubOutWithMock(pubsub_utils, "PubSubClient")577 self.mox.StubOutWithMock(gs_offloader, '_get_cmd_list')581 self.mox.StubOutWithMock(models.test, 'parse_job_keyval')590 self.mox.StubOutWithMock(gs_offloader, '_upload_cts_testresult')595 self.mox.StubOutWithMock(__builtin__, 'open')609 self.mox.StubOutWithMock(os.path, 'isfile')924 self.mox.StubOutWithMock(gs_offloader, '_upload_files')[all …]
95 self.mox.StubOutWithMock(job_directories, '_AFE')
91 self.mox.StubOutWithMock(urllib.request, 'urlopen')92 self.mox.StubOutWithMock(utils, 'run')124 self.mox.StubOutWithMock(utils, 'get_restricted_subnet')185 self.mox.StubOutWithMock(utils, 'get_restricted_subnet')202 self.mox.StubOutWithMock(utils, 'get_restricted_subnet')220 self.mox.StubOutWithMock(utils, 'get_restricted_subnet')249 self.mox.StubOutWithMock(utils, 'get_restricted_subnet')292 self.mox.StubOutWithMock(dev_server.ImageServerBase, 'run_call')293 self.mox.StubOutWithMock(urllib.request, 'urlopen')294 self.mox.StubOutWithMock(utils, 'run')[all …]
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')
188 self.mox.StubOutWithMock(sut, '_login')190 self.mox.StubOutWithMock(sut, '_verify_state')215 self.mox.StubOutWithMock(sut, '_login')234 self.mox.StubOutWithMock(sut, '_login')235 self.mox.StubOutWithMock(sut, '_enter_configuration_terminal')252 self.mox.StubOutWithMock(sut, '_login')253 self.mox.StubOutWithMock(sut, '_enter_configuration_terminal')254 self.mox.StubOutWithMock(sut, '_exit_configuration_terminal')
131 self.mox.StubOutWithMock(control_data, 'parse_control_string')133 self.mox.StubOutWithMock(suite_common.multiprocessing, 'Pool')156 self.mox.StubOutWithMock(control_data, 'parse_control_string')158 self.mox.StubOutWithMock(suite_common.multiprocessing, 'Pool')286 self.mox.StubOutWithMock(SuiteBase, 'find_and_parse_tests')312 self.mox.StubOutWithMock(suite, '_remember_job_keyval')389 self.mox.StubOutWithMock(utils, 'write_keyval')408 self.mox.StubOutWithMock(utils, 'write_keyval')429 self.mox.StubOutWithMock(utils, 'write_keyval')451 self.mox.StubOutWithMock(utils, 'write_keyval')[all …]
115 self.mox.StubOutWithMock(tools, 'infrastructure_user')
92 self.mox.StubOutWithMock(time, 'sleep')
125 self.mox.StubOutWithMock(urllib.request, 'urlopen')126 self.mox.StubOutWithMock(time, 'sleep')307 self.mox.StubOutWithMock(global_config.global_config,309 self.mox.StubOutWithMock(site_utils, '_get_lab_status')
20 self.mox.StubOutWithMock(utils, 'run')
103 self.mox.StubOutWithMock(models.test, 'parse_job_keyval')
129 self.mox.StubOutWithMock(lsbrelease_utils, 'is_moblab')
215 self.mox.StubOutWithMock(tko_db.db_sql, 'connect')
208 def StubOutWithMock(self, obj, attr_name, use_mock_anything=False): member in Mox