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

1 2

  /test/vts/utils/python/controllers/
customflasher_test.py 36 flashTool.assert_called_with("myBinaryPath --arg", "aboutSomething")
  /external/autotest/server/hosts/
jetstream_host_unittest.py 21 mock_cleanup.assert_called_with()
30 mock_cleanup.assert_called_with()
  /external/python/cpython3/Lib/test/test_asyncio/
test_proactor_events.py 47 self.proactor.recv.assert_called_with(self.sock, 4096)
52 self.loop._proactor.recv.assert_called_with(self.sock, 4096)
63 self.loop._proactor.recv.assert_called_with(self.sock, 4096)
64 self.protocol.data_received.assert_called_with(b'data')
86 tr._fatal_error.assert_called_with(
116 tr._force_close.assert_called_with(err)
124 tr._fatal_error.assert_called_with(
133 tr._loop_writing.assert_called_with(data=b'data')
152 self.loop._proactor.send.assert_called_with(self.sock, b'data')
154 assert_called_with(tr._loop_writing
    [all...]
test_selector_events.py 134 selector.close.assert_called_with()
135 ssock.close.assert_called_with()
136 csock.close.assert_called_with()
137 remove_reader.assert_called_with(7)
187 self.loop._sock_recv.assert_called_with(f, False, sock, 1024)
374 m_gai.assert_called_with(
649 self.loop._add_callback.assert_called_with(reader)
660 self.loop._remove_reader.assert_called_with(1)
671 self.loop._add_callback.assert_called_with(writer)
682 self.loop._remove_writer.assert_called_with(1
    [all...]
test_unix_events.py 64 self.loop.remove_signal_handler.assert_called_with(signal.NSIG + 1)
409 self.protocol.connection_made.assert_called_with(tr)
419 m_read.assert_called_with(5, tr.max_size)
420 self.protocol.data_received.assert_called_with(b'data')
428 m_read.assert_called_with(5, tr.max_size)
431 self.protocol.eof_received.assert_called_with()
432 self.protocol.connection_lost.assert_called_with(None)
440 m_read.assert_called_with(5, tr.max_size)
453 m_read.assert_called_with(5, tr.max_size)
454 tr._close.assert_called_with(err
    [all...]
  /test/framework/harnesses/host_controller/
console_test.py 162 self._build_provider_pab.GetArtifact.assert_called_with(
173 flasher.Flash.assert_called_with({
194 self._build_provider_pab.GetArtifact.assert_called_with(
210 flasher.FlashGSI.assert_called_with('system.img', None)
217 flasher.FlashGSI.assert_called_with('system.img', 'vbmeta.img')
224 flasher.Flashall.assert_called_with('path/to/dir/')
240 mock_importlib.import_module.assert_called_with("test.flasher")
241 flasher_module.Flasher.assert_called_with("ABC001", "/test/flasher")
242 flasher.Flash.assert_called_with({}, {}, "--unit", "test")
243 flasher.WaitForDevice.assert_called_with()
    [all...]
  /test/framework/harnesses/host_controller/build/
build_flasher_test.py 64 mock_device.fastboot.flashall.assert_called_with()
71 mock_class.AndroidDevice.assert_called_with(
90 mock_device.adb.reboot.assert_called_with("reboottowhatever")
91 mock_device.customflasher.ExecCustomFlasherCmd.assert_called_with(
100 mock_device.customflasher.ExecCustomFlasherCmd.assert_called_with(
130 mock_logger.error.assert_called_with(
build_provider_pab_test.py 86 mock_creds.apply.assert_called_with({})
87 mock_requests.get.assert_called_with(
89 mock_open.assert_called_with(
109 mock_requests.post.assert_called_with(
229 mock_requests.post.assert_called_with(
  /external/autotest/skylab_migration/venv/skylab_venv/
test_sso_discovery.py 38 self.mock_run_cmd.assert_called_with(
55 self.mock_run_cmd.assert_called_with(
72 self.mock_run_cmd.assert_called_with(
  /external/python/cpython3/Lib/unittest/test/testmock/
testhelpers.py 27 mock.assert_called_with(ANY)
31 mock.assert_called_with(foo=ANY)
42 mock.assert_called_with(ANY, foo=ANY)
320 mock.one.assert_called_with(1, 2)
322 mock.one.assert_called_with, 3, 4)
326 mock.two.assert_called_with()
328 mock.two.assert_called_with, 3)
332 mock.three.assert_called_with()
334 mock.three.assert_called_with, 3)
338 mock.three.assert_called_with(1
    [all...]
testmock.py 139 mock.assert_called_with(1, 2, fish=3)
199 mock.assert_called_with(1,2, fish=3)
334 mock.assert_called_with()
335 self.assertRaises(AssertionError, mock.assert_called_with, 1)
338 self.assertRaises(AssertionError, mock.assert_called_with)
341 mock.assert_called_with(1, 2, 3, a='fish', b='nothing')
347 m.assert_called_with(mock.ANY)
357 mock.assert_called_with(1, 2, 3)
358 mock.assert_called_with(a=1, b=2, c=3)
359 self.assertRaises(AssertionError, mock.assert_called_with,
    [all...]
  /tools/acloud/internal/lib/
android_compute_client_test.py 90 self.android_compute_client).CreateImage.assert_called_with(
92 self.android_compute_client.CheckImageExists.assert_called_with(
125 self.android_compute_client).CreateInstance.assert_called_with(
137 self.android_compute_client.CompareMachineSize.assert_called_with(
150 self.android_compute_client.CompareMachineSize.assert_called_with(
gcompute_client_test.py 91 resource_mock.get.assert_called_with(
102 resource_mock.get.assert_called_with(
114 resource_mock.get.assert_called_with(
139 utils.PollAndWait.assert_called_with(
166 resource_mock.insert.assert_called_with(
168 self.compute_client.WaitOnOperation.assert_called_with(
201 resource_mock.insert.assert_called_with(
203 self.compute_client.WaitOnOperation.assert_called_with(
206 self.compute_client.CheckImageExists.assert_called_with(self.IMAGE)
207 self.compute_client.DeleteImage.assert_called_with(self.IMAGE
    [all...]
gstorage_client_test.py 38 resource_mock.get.assert_called_with(
84 io.FileIO.assert_called_with(self.LOCAL_SRC, mode="rb")
85 apiclient.http.MediaIoBaseUpload.assert_called_with(mock_file,
87 resource_mock.insert.assert_called_with(
105 resource_mock.delete.assert_called_with(
android_build_client_test.py 71 mock_resource.get_media.assert_called_with(
76 io.FileIO.assert_called_with(self.LOCAL_DEST, mode="wb")
utils_test.py 51 subprocess.check_call.assert_called_with(
  /external/autotest/site_utils/
deploy_server_local_unittest.py 127 run_cmd.assert_called_with(
172 run_cmd.assert_called_with('sudo service apache2 reload', shell=True,
178 run_cmd.assert_called_with(expanded_cmd, shell=True,
196 run_cmd.assert_called_with(['sudo', 'service', 'foobar', 'restart'],
207 run_cmd.assert_called_with(['sudo', 'service', 'foobar', 'status'])
306 run_cmd.assert_called_with(
automated_deploy_unittest.py 120 run_cmd.assert_called_with(expect_git_log_cmd, stream_output=True)
130 run_cmd.assert_called_with(expect_git_log_cmd, stream_output=True)
  /external/toolchain-utils/crosperf/
download_images_unittest.py 53 mock_path_exists.assert_called_with(
61 mock_mkdirs.assert_called_with(
72 mock_cmd_exec.RunCommand.assert_called_with(expected_args)
84 mock_path_exists.assert_called_with(
113 mock_path_exists.assert_called_with(
150 mock_path_exists.assert_called_with(
  /external/autotest/client/cros/multimedia/
cfm_facade_native_unittest.py 53 mock_kiosk_utils.wait_for_kiosk_ext.assert_called_with(self.browser,
63 mock_kiosk_utils.get_webview_contexts.assert_called_with(self.browser,
125 dummy_ctx.ExecuteJavaScript.assert_called_with(
  /external/autotest/server/cros/network/
rf_switch_controller_test.py 78 mock_logger.assert_called_with(
93 mock_logger.assert_called_with(
rf_switch_utils_test.py 52 mock_logger.assert_called_with(
62 mock_logger.assert_called_with(
  /tools/acloud/public/
device_driver_test.py 98 self.build_client.CopyTo.assert_called_with(
102 self.compute_client.CreateImage.assert_called_with(
104 self.compute_client.CreateInstance.assert_called_with(
106 self.compute_client.DeleteImage.assert_called_with(fake_image)
  /tools/test/connectivity/acts/framework/tests/libs/ota/ota_runners/
ota_runner_factory_test.py 81 mocked_function.assert_called_with('jkl;', 'qaz', self.device,
97 mocked_function.assert_called_with('jkl;', 'qaz', self.device,
  /tools/test/connectivity/acts/framework/tests/
acts_android_device_test.py 350 create_dir_mock.assert_called_with(expected_path)
388 create_dir_mock.assert_called_with(expected_path)
420 creat_dir_mock.assert_called_with(os.path.dirname(expected_log_path))
422 start_proc_mock.assert_called_with(adb_cmd % (ad.serial,
433 stop_proc_mock.assert_called_with("process")
468 creat_dir_mock.assert_called_with(os.path.dirname(expected_log_path))
470 start_proc_mock.assert_called_with(adb_cmd % (ad.serial,

Completed in 772 milliseconds

1 2