Home
last modified time | relevance | path

Searched defs:mock_popen (Results 1 – 12 of 12) sorted by relevance

/aosp_15_r20/external/python/google-auth-library-python/tests/transport/
Dtest__mtls_helper.py156 def test_success(self, mock_popen): argument
176 def test_success_with_cert_chain(self, mock_popen): argument
197 def test_missing_cert(self, mock_popen): argument
213 def test_missing_key(self, mock_popen): argument
229 def test_missing_passphrase(self, mock_popen): argument
239 def test_passphrase_not_expected(self, mock_popen): argument
247 def test_encrypted_key_expected(self, mock_popen): argument
257 def test_unencrypted_key_expected(self, mock_popen): argument
265 def test_cert_provider_returns_error(self, mock_popen): argument
272 def test_popen_raise_exception(self, mock_popen): argument
/aosp_15_r20/tools/acloud/create/
H A Dgoldfish_local_image_local_instance_test.py97 def _SetUpMocks(self, mock_popen, mock_utils, mock_instance, argument
181 def testCreateAVDInBuildEnvironment(self, mock_gf_utils, mock_popen, argument
230 def testCreateAVDFromSdkRepository(self, mock_gf_utils, mock_popen, argument
282 def testCreateAVDTimeout(self, mock_gf_utils, mock_popen, mock_utils, mock_instance): argument
316 def testCreateAVDWithoutReport(self, mock_gf_utils, mock_popen, mock_utils, argument
346 mock_popen, mock_utils, mock_instance): argument
403 mock_popen, mock_utils, mock_instance): argument
450 mock_popen, mock_utils, mock_instance): argument
499 mock_popen, mock_utils, mock_instance): argument
H A Dlocal_image_local_instance_test.py651 def testLaunchCVD(self, mock_popen): argument
675 def testLaunchCVDFailure(self, mock_popen): argument
691 def testLaunchCVDTimeout(self, mock_popen, mock_list_instance): argument
/aosp_15_r20/external/cronet/build/lacros/
H A Dtest_runner_test.py59 def test_do_not_require_ash_chrome(self, command, mock_popen, mock_download, argument
90 def test_require_ash_chrome(self, command, mock_popen, mock_download, *_): argument
155 def test_specify_ash_chrome_version(self, mock_popen, mock_download, *_): argument
173 def test_overrides_do_not_require_ash_chrome(self, mock_popen, mock_download, argument
194 def test_specify_ash_chrome_path(self, mock_popen, mock_download, argument
213 def test_command_arguments(self, mock_popen, mock_download, _): argument
240 def test_ash_wrapper(self, mock_popen, *_): argument
/aosp_15_r20/tools/acloud/internal/lib/
H A Dota_tools_test.py166 def _TestBuildSuperImage(self, mock_popen, mock_popen_object, argument
211 def testBuildSuperImageSuccess(self, mock_popen): argument
216 def testBuildSuperImageTimeout(self, mock_popen): argument
222 def testMakeDisabledVbmetaImageSuccess(self, mock_popen): argument
244 def _TestMkCombinedImg(self, mock_popen, mock_popen_object, argument
293 def testMkCombinedImgSuccess(self, mock_popen): argument
299 def testMkCombinedImgFailure(self, mock_popen): argument
/aosp_15_r20/external/python/mobly/tests/mobly/controllers/android_device_lib/
Dadb_test.py68 def _mock_execute_and_process_stdout_process(self, mock_popen): argument
192 def test_execute_and_process_stdout_reads_stdout(self, mock_popen): argument
205 def test_execute_and_process_stdout_reads_unexpected_stdout(self, mock_popen): argument
223 self, mock_debug_logger, mock_popen argument
247 self, mock_debug_logger, mock_popen argument
270 def test_execute_and_process_stdout_despite_cmd_exits(self, mock_popen): argument
286 def test_execute_and_process_stdout_when_cmd_eof(self, mock_popen): argument
301 def test_execute_and_process_stdout_returns_stderr(self, mock_popen): argument
310 def test_execute_and_process_stdout_raises_adb_error(self, mock_popen): argument
320 def test_execute_and_process_stdout_when_handler_crash(self, mock_popen): argument
Dfastboot_test.py27 self, mock_debug_logger, mock_popen argument
/aosp_15_r20/external/python/mobly/tests/mobly/
Dutils_test.py242 def test_run_command_with_default_params(self, mock_popen, mock_timer): argument
264 def test_run_command_with_custom_params(self, mock_popen, mock_timer): argument
321 def test_start_standing_subproc_without_env(self, mock_popen): argument
334 def test_start_standing_subproc_with_custom_env(self, mock_popen): argument
/aosp_15_r20/external/python/cpython3/Lib/test/
Dtest_script_helper.py39 def test_assert_python_isolated_when_env_not_required(self, mock_popen): argument
57 def test_assert_python_not_isolated_when_env_is_required(self, mock_popen): argument
/aosp_15_r20/external/toolchain-utils/llvm_tools/
H A Dget_llvm_hash_unittest.py111 def testCheckoutBranch(self, mock_popen): argument
/aosp_15_r20/external/python/cpython2/Lib/test/
Dtest_uuid.py442 def mock_popen(cmd): function
/aosp_15_r20/external/chromium-trace/catapult/common/py_utils/py_utils/
H A Dcloud_storage_unittest.py203 def testSwarmingUsesExistingEnv(self, mock_popen): argument