Home
last modified time | relevance | path

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

12

/dports/devel/py-datadog/datadog-0.42.0/tests/unit/dogwrap/
H A Dtest_dogwrap.py123 def test_execute(self, mock_popen, mock_poll): argument
142 def test_execute_exit_code(self, mock_popen, mock_poll): argument
161 def test_execute_cmd_timeout(self, mock_popen, mock_poll): argument
183 def test_execute_sigterm_timeout(self, mock_popen, mock_poll): argument
206 def test_execute_sigkill_timeout(self, mock_popen, mock_poll): argument
229 def test_execute_oserror(self, mock_popen, mock_poll): argument
250 def test_execute_popen_fail(self, mock_popen): argument
/dports/www/chromium-legacy/chromium-88.0.4324.182/build/lacros/
H A Dtest_runner_test.py39 def test_do_not_require_ash_chrome(self, command, mock_popen, mock_download, argument
70 def test_require_ash_chrome(self, command, mock_popen, mock_download, *_): argument
122 def test_specify_ash_chrome_version(self, mock_popen, mock_download, *_): argument
140 def test_overrides_do_not_require_ash_chrome(self, mock_popen, mock_download, argument
161 def test_specify_ash_chrome_path(self, mock_popen, mock_download, argument
180 def test_command_arguments(self, mock_popen, mock_download, _): argument
/dports/lang/v8/v8-9.6.180.12/build/lacros/
H A Dtest_runner_test.py39 def test_do_not_require_ash_chrome(self, command, mock_popen, mock_download, argument
70 def test_require_ash_chrome(self, command, mock_popen, mock_download, *_): argument
121 def test_specify_ash_chrome_version(self, mock_popen, mock_download, *_): argument
139 def test_overrides_do_not_require_ash_chrome(self, mock_popen, mock_download, argument
160 def test_specify_ash_chrome_path(self, mock_popen, mock_download, argument
179 def test_command_arguments(self, mock_popen, mock_download, _): argument
206 def test_ash_wrapper(self, mock_popen, *_): argument
/dports/security/py-google-auth/google-auth-2.3.3/tests/transport/
H A 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
/dports/www/firefox/firefox-99.0/third_party/libwebrtc/build/lacros/
H A Dtest_runner_test.py49 def test_do_not_require_ash_chrome(self, command, mock_popen, mock_download, argument
80 def test_require_ash_chrome(self, command, mock_popen, mock_download, *_): argument
132 def test_specify_ash_chrome_version(self, mock_popen, mock_download, *_): argument
150 def test_overrides_do_not_require_ash_chrome(self, mock_popen, mock_download, argument
166 def test_command_arguments(self, mock_popen, mock_download, _): argument
/dports/net/py-sshuttle/sshuttle-0.78.5/tests/server/
H A Dtest_server.py25 def test_listroutes_netstat(mock_popen, mock_which): argument
45 def test_listroutes_iproute(mock_popen, mock_which): argument
/dports/devel/py-openstacksdk/openstacksdk-0.60.0/openstack/tests/unit/baremetal/
H A Dtest_configdrive.py87 def test_no_genisoimage(self, mock_popen): argument
92 def test_genisoimage_fails(self, mock_popen): argument
98 def test_success(self, mock_popen): argument
/dports/sysutils/azure-agent/WALinuxAgent-2.2.54.2/tests/common/
H A Dtest_cgroupconfigurator.py284 def mock_popen(command_arg, *args, **kwargs): function
309 def mock_popen(command, *args, **kwargs): function
364 def mock_popen(*args, **kwargs): function
505 def mock_popen(*args, **kwargs): function
594 def mock_popen(command, *args, **kwargs): function
/dports/textproc/py-mkdocs/mkdocs-1.2.3/mkdocs/tests/
H A Dsearch_tests.py483 def test_prebuild_index(self, mock_popen): argument
502 def test_prebuild_index_returns_error(self, mock_popen): argument
520 def test_prebuild_index_raises_ioerror(self, mock_popen): argument
538 def test_prebuild_index_raises_oserror(self, mock_popen): argument
556 def test_prebuild_index_false(self, mock_popen): argument
599 def test_prebuild_index_node(self, mock_popen): argument
/dports/databases/py-sqlite3/Python-3.8.12/Lib/test/
H A 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
/dports/databases/py-gdbm/Python-3.8.12/Lib/test/
H A 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
/dports/lang/python37/Python-3.7.12/Lib/test/
H A 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
/dports/lang/python-tools/Python-3.8.12/Lib/test/
H A 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
/dports/lang/python38/Python-3.8.12/Lib/test/
H A 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
/dports/lang/python310/Python-3.10.1/Lib/test/
H A 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
/dports/lang/python311/Python-3.11.0a3/Lib/test/
H A 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
/dports/lang/python39/Python-3.9.9/Lib/test/
H A 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
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Lib/test/
H A 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
/dports/sysutils/ansible2/ansible-2.9.27/test/units/parsing/vault/
H A Dtest_vault.py267 def _mock_popen(self, mock_popen, return_code=0, stdout=b'', stderr=b''): argument
275 def test_read_file(self, mock_popen): argument
283 def test_read_file_empty(self, mock_popen): argument
293 def test_read_file_os_error(self, mock_popen): argument
304 def test_read_file_not_executable(self, mock_popen): argument
314 def test_read_file_non_zero_return_code(self, mock_popen): argument
/dports/sysutils/py-ansible-core/ansible-core-2.11.6/test/units/parsing/vault/
H A Dtest_vault.py267 def _mock_popen(self, mock_popen, return_code=0, stdout=b'', stderr=b''): argument
275 def test_read_file(self, mock_popen): argument
283 def test_read_file_empty(self, mock_popen): argument
293 def test_read_file_os_error(self, mock_popen): argument
304 def test_read_file_not_executable(self, mock_popen): argument
314 def test_read_file_non_zero_return_code(self, mock_popen): argument
/dports/sysutils/py-ansible-base/ansible-base-2.10.15/test/units/parsing/vault/
H A Dtest_vault.py267 def _mock_popen(self, mock_popen, return_code=0, stdout=b'', stderr=b''): argument
275 def test_read_file(self, mock_popen): argument
283 def test_read_file_empty(self, mock_popen): argument
293 def test_read_file_os_error(self, mock_popen): argument
304 def test_read_file_not_executable(self, mock_popen): argument
314 def test_read_file_non_zero_return_code(self, mock_popen): argument
/dports/misc/py-cinder/cinder-12.0.10/cinder/tests/unit/backup/drivers/
H A Dtest_backup_ceph.py88 mock_popen): argument
131 def _setup_mock_popen(self, mock_popen, retval=None, p1hook=None, argument
443 def test_backup_volume_from_rbd(self, mock_popen, mock_fnctl): argument
589 def test_backup_volume_from_rbd_fail(self, mock_popen, mock_fnctl): argument
667 def test_backup_volume_from_rbd_fail2(self, mock_popen, mock_fnctl): argument
1258 def test_piped_execute(self, mock_popen, mock_fcntl): argument
/dports/devel/youcompleteme/YouCompleteMe-ab73ca2/third_party/ycmd/ycmd/tests/clangd/
H A Dutilities_test.py177 def ClangdCompleter_GetVersion_test( mock_popen ): argument
/dports/sysutils/azure-agent/WALinuxAgent-2.2.54.2/tests/utils/
H A Dtest_network_util.py76 def mock_popen(command, *args, **kwargs): function
/dports/devel/py-nbconvert/nbconvert-6.2.0/nbconvert/preprocessors/tests/
H A Dtest_svg2pdf.py77 def test_inkscape_version_default(self, mock_popen): argument

12