Searched refs:assert_called_once_with (Results 1 – 25 of 69) sorted by relevance
123
/external/chromium-trace/catapult/devil/devil/android/perf/ |
D | perf_control_test.py | 55 mock_device.EnableRoot.assert_called_once_with() 56 pc._ForceAllCpusOnline.assert_called_once_with(True) 57 pc.SetScalingGovernor.assert_called_once_with('performance') 58 pc._SetScalingMaxFreqForCpus.assert_called_once_with( 60 pc._SetMaxGpuClock.assert_called_once_with(200000000) 78 mock_device.EnableRoot.assert_called_once_with() 79 pc._ForceAllCpusOnline.assert_called_once_with(True) 80 pc.SetScalingGovernor.assert_called_once_with('performance') 81 pc._SetScalingMaxFreqForCpus.assert_called_once_with( 83 pc._SetMaxGpuClock.assert_called_once_with(300000000) [all …]
|
/external/python/oauth2client/tests/contrib/ |
D | test_keyring_storage.py | 73 new_from_json.assert_called_once_with(mock_content) 74 get_password.assert_called_once_with(service_name, user_name) 76 set_store.assert_called_once_with(store) 90 to_json.assert_called_once_with() 91 set_password.assert_called_once_with(service_name, user_name, 102 set_password.assert_called_once_with(service_name, user_name, '') 111 get_password.assert_called_once_with('my_unit_test', 'me') 120 get_password.assert_called_once_with('my_unit_test', 'me') 149 set_password.assert_called_once_with( 151 get_password.assert_called_once_with('my_unit_test', 'me') [all …]
|
D | test_metadata.py | 51 http_request.assert_called_once_with(EXPECTED_URL, **EXPECTED_KWARGS) 60 http_request.assert_called_once_with(EXPECTED_URL, **EXPECTED_KWARGS) 68 http_request.assert_called_once_with(EXPECTED_URL, **EXPECTED_KWARGS) 83 http_request.assert_called_once_with( 87 now.assert_called_once_with() 94 http_request.assert_called_once_with(
|
D | test_xsrfutil.py | 60 hmac.new.assert_called_once_with(TEST_KEY) 61 digester.digest.assert_called_once_with() 93 hmac.new.assert_called_once_with(TEST_KEY) 94 time.time.assert_called_once_with() 95 digester.digest.assert_called_once_with() 147 time.time.assert_called_once_with() 176 gen_tok.assert_called_once_with(key, user_id, action_id=action_id, 200 gen_tok.assert_called_once_with(key, user_id, action_id=action_id, 217 gen_tok.assert_called_once_with(key, user_id, action_id=action_id,
|
D | test__appengine_ndb.py | 67 mock_logger.info.assert_called_once_with('validate: Got type %s', 75 mock_logger.info.assert_called_once_with('validate: Got type %s', 84 mock_logger.info.assert_called_once_with('validate: Got type %s', 111 mock_logger.info.assert_called_once_with('validate: Got type %s', 119 mock_logger.info.assert_called_once_with('validate: Got type %s', 128 mock_logger.info.assert_called_once_with('validate: Got type %s',
|
D | test_devshell.py | 81 os_mod.getenv.assert_called_once_with(devshell.DEVSHELL_ENV, 0) 99 os_mod.getenv.assert_called_once_with(devshell.DEVSHELL_ENV, 0) 100 socket.socket.assert_called_once_with() 101 sock.recv(6).decode.assert_called_once_with() 222 utcnow.assert_called_once_with()
|
/external/python/cpython3/Lib/test/ |
D | test_ensurepip.py | 41 self.run_pip.assert_called_once_with( 55 self.run_pip.assert_called_once_with( 67 self.run_pip.assert_called_once_with( 78 self.run_pip.assert_called_once_with( 89 self.run_pip.assert_called_once_with( 100 self.run_pip.assert_called_once_with( 111 self.run_pip.assert_called_once_with( 188 self.run_pip.assert_called_once_with( 199 self.run_pip.assert_called_once_with( 210 self.run_pip.assert_called_once_with( [all …]
|
D | test_getpass.py | 45 getpw.assert_called_once_with(42) 57 stream.flush.assert_called_once_with() 64 stderr.write.assert_called_once_with(prompt) 70 mock_input.readline.assert_called_once_with() 77 mock_input.readline.assert_called_once_with() 106 open.assert_called_once_with('/dev/tty', 108 fileio.assert_called_once_with(open.return_value, 'w+') 109 textio.assert_called_once_with(fileio.return_value) 134 fallback.assert_called_once_with('Password: ', 157 stdin.readline.assert_called_once_with()
|
/external/python/cpython2/Lib/test/ |
D | test_ensurepip.py | 42 self.run_pip.assert_called_once_with( 56 self.run_pip.assert_called_once_with( 68 self.run_pip.assert_called_once_with( 79 self.run_pip.assert_called_once_with( 90 self.run_pip.assert_called_once_with( 101 self.run_pip.assert_called_once_with( 112 self.run_pip.assert_called_once_with( 190 self.run_pip.assert_called_once_with( 201 self.run_pip.assert_called_once_with( 212 self.run_pip.assert_called_once_with( [all …]
|
/external/python/oauth2client/tests/ |
D | test_tools.py | 85 self.flow.step2_exchange.assert_called_once_with( 87 self.storage.put.assert_called_once_with(self.credentials) 88 self.credentials.set_store.assert_called_once_with(self.storage) 102 self.flow.step2_exchange.assert_called_once_with( 116 self.flow.step2_exchange.assert_called_once_with( 133 self.flow.step2_exchange.assert_called_once_with( 135 self.storage.put.assert_called_once_with(self.credentials) 136 self.credentials.set_store.assert_called_once_with(self.storage) 138 webbrowser_open_mock.assert_called_once_with( 184 self.flow.step2_exchange.assert_called_once_with(
|
D | test_crypt.py | 92 Verifier.from_string.assert_called_once_with(cert_value, 94 verifier.verify.assert_called_once_with(message, signature) 142 Verifier.from_string.assert_called_once_with(cert_value, 144 verifier.verify.assert_called_once_with(message, signature) 309 verify_sig.assert_called_once_with( 311 verify_time.assert_called_once_with(payload_dict) 312 check_aud.assert_called_once_with(payload_dict, audience) 313 certs.values.assert_called_once_with()
|
D | test_client.py | 172 to_json.assert_called_once_with( 321 from_files.assert_called_once_with() 322 in_gae.assert_called_once_with() 339 in_gce.assert_called_once_with() 340 from_gae.assert_called_once_with() 341 from_files.assert_called_once_with() 402 http_client_module.HTTPConnection.assert_called_once_with( 405 connection.getresponse.assert_called_once_with() 418 response.getheader.assert_called_once_with( 529 isdir_mock.assert_called_once_with(config_dir) [all …]
|
/external/python/mock/mock/tests/ |
D | testcallable.py | 63 mock.assert_called_once_with() 75 mock.assert_called_once_with() 121 mock.assert_called_once_with() 130 instance.assert_called_once_with() 133 result.assert_called_once_with(3, 2, 1) 135 result.foo.assert_called_once_with(3, 2, 1) 152 mock.wibble.assert_called_once_with()
|
D | testhelpers.py | 555 mock.f.assert_called_once_with(1, 2) 558 mock.g.assert_called_once_with(3, 4) 573 mock.f.assert_called_once_with(1, 2) 579 mock.g.f.assert_called_once_with(1, 2) 742 mock.assert_called_once_with(1) 758 mock.assert_called_once_with(1) 759 mock.assert_called_once_with(a=1) 760 self.assertRaises(AssertionError, mock.assert_called_once_with, 2) 794 mock.assert_called_once_with(1, 2) 795 mock.assert_called_once_with(x=1, y=2) [all …]
|
/external/python/cpython3/Lib/unittest/test/testmock/ |
D | testcallable.py | 63 mock.assert_called_once_with() 75 mock.assert_called_once_with() 114 mock.assert_called_once_with() 123 instance.assert_called_once_with() 126 result.assert_called_once_with(3, 2, 1) 128 result.foo.assert_called_once_with(3, 2, 1) 145 mock.wibble.assert_called_once_with()
|
D | testhelpers.py | 574 mock.f.assert_called_once_with(1, 2) 577 mock.g.assert_called_once_with(3, 4) 739 mock.assert_called_once_with(1) 740 mock.assert_called_once_with(a=1) 741 self.assertRaises(AssertionError, mock.assert_called_once_with, 2) 766 mock.assert_called_once_with(1, 2) 767 mock.assert_called_once_with(x=1, y=2) 773 instance.assert_called_once_with('a') 774 instance.assert_called_once_with(a='a') 781 mock.assert_called_once_with(a='a') [all …]
|
/external/chromium-trace/catapult/devil/devil/android/tools/ |
D | system_app_test.py | 50 mock_device.EnableRoot.assert_called_once_with() 51 mock_device.GetProp.assert_called_once_with( 53 mock_device.SetProp.assert_called_once_with( 59 mock_device.GetProp.assert_called_once_with( 64 mock_device.SetProp.assert_called_once_with(
|
/external/autotest/site_utils/stable_images/ |
D | stable_version_unittest.py | 98 called_mock.assert_called_once_with(afe, None) 106 called_mock.assert_called_once_with(afe, argv[2]) 114 called_mock.assert_called_once_with(afe, None, argv[1]) 122 called_mock.assert_called_once_with(afe, argv[2], argv[3]) 130 called_mock.assert_called_once_with(afe, argv[2], argv[3], 150 called_mock.assert_called_once_with(afe, argv[2], argv[4], False)
|
/external/autotest/site_utils/deployment/ |
D | install_unittest.py | 85 afe_mock.cros_version_map.set_version.assert_called_once_with( 87 afe_mock.fw_version_map.set_version.assert_called_once_with( 117 afe_mock.cros_version_map.set_version.assert_called_once_with( 131 afe_mock.cros_version_map.set_version.assert_called_once_with( 133 afe_mock.fw_version_map.set_version.assert_called_once_with( 149 afe_mock.cros_version_map.set_version.assert_called_once_with(
|
/external/autotest/scheduler/ |
D | scheduler_lib_unittest.py | 41 connection_manager.open_connection.assert_called_once_with() 51 connection_manager.disconnect.assert_called_once_with() 74 readonly_connection.set_globally_disabled.assert_called_once_with(True) 75 setup_django_environment.enable_autocommit.assert_called_once_with()
|
/external/autotest/server/cros/cfm/configurable_test/ |
D | actions_unittest.py | 61 self.host_mock.reboot.assert_called_once_with() 67 self.host_mock.reboot.assert_called_once_with() 69 .assert_called_once_with()) 71 .assert_called_once_with()) 196 self.metrics_collector_mock.start.assert_called_once_with() 201 self.metrics_collector_mock.stop.assert_called_once_with() 206 self.metrics_collector_mock.upload_metrics.assert_called_once_with()
|
D | configurable_cfm_test_unittest.py | 28 cfm_facade_mock.start_meeting_session.assert_called_once_with() 29 cfm_facade_mock.end_meeting_session.assert_called_once_with() 45 cfm_facade_mock.start_meeting_session.assert_called_once_with()
|
/external/autotest/venv/lucifer/ |
D | autotest_unittest.py | 52 import_module.assert_called_once_with(expected) 71 import_module.assert_called_once_with(expected) 83 import_module.assert_called_once_with(name)
|
D | loglib_unittest.py | 25 dictConfig.assert_called_once_with(mock.ANY) 35 configure.assert_called_once_with(name='unittest')
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | md5sum_test.py | 52 mock_get_cmd_output.assert_called_once_with( 70 mock_get_cmd_output.assert_called_once_with( 89 mock_get_cmd_output.assert_called_once_with( 231 device.adb.Push.assert_called_once_with(
|
123