Home
last modified time | relevance | path

Searched refs:mock_Popen (Results 1 – 9 of 9) sorted by relevance

/dports/sysutils/ntfy/ntfy-2.7.0-14-g0e922fa/tests/
H A Dtest_cli.py21 def test_default(self, mock_Popen): argument
22 mock_Popen.return_value = process_mock()
33 def test_emoji(self, mock_Popen): argument
34 mock_Popen.return_value = process_mock()
54 def test_longerthan(self, mock_Popen): argument
55 mock_Popen.return_value = process_mock()
65 def test_failure(self, mock_Popen): argument
77 def test_stdout(self, mock_Popen): argument
92 def test_stderr(self, mock_Popen): argument
123 mock_Popen.return_value = process_mock(
[all …]
/dports/net/google-cloud-sdk/google-cloud-sdk/platform/gsutil/gslib/tests/
H A Dtest_context_config.py180 mock_Popen.assert_not_called()
190 self, mock_Popen): argument
193 mock_Popen.return_value = mock_command_process
205 mock_Popen.side_effect = OSError('foobar')
219 mock_Popen.side_effect = KeyError('foobar')
235 self, mock_Popen): argument
258 mock_Popen.assert_called_once_with(
265 self, mock_Popen): argument
275 mock_Popen.assert_called_once_with(
301 self, mock_Popen, mock_remove, mock_open): argument
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/toolkit/crashreporter/tools/
H A Dunit-symbolstore.py235 def testVCSFilenameHg(self, mock_Popen): argument
237 mock_communicate = mock_Popen.return_value.communicate
250 def testVCSFilenameHgMultiple(self, mock_Popen): argument
252 mock_communicate = mock_Popen.return_value.communicate
343 def test_HGSERVER(self, mock_Popen, mock_call): argument
356 mock_Popen.return_value.stdout = iter(
363 mock_Popen.return_value.wait.return_value = 0
364 mock_communicate = mock_Popen.return_value.communicate
482 def testFileMapping(self, mock_Popen): argument
508 mock_Popen.return_value.stdout = mk_output(dumped_files)
[all …]
/dports/www/firefox/firefox-99.0/toolkit/crashreporter/tools/
H A Dunit-symbolstore.py232 def testVCSFilenameHg(self, mock_Popen): argument
234 mock_communicate = mock_Popen.return_value.communicate
247 def testVCSFilenameHgMultiple(self, mock_Popen): argument
249 mock_communicate = mock_Popen.return_value.communicate
340 def test_HGSERVER(self, mock_Popen, mock_call): argument
353 mock_Popen.return_value.stdout = iter(
360 mock_Popen.return_value.wait.return_value = 0
361 mock_communicate = mock_Popen.return_value.communicate
479 def testFileMapping(self, mock_Popen): argument
505 mock_Popen.return_value.stdout = mk_output(dumped_files)
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/toolkit/crashreporter/tools/
H A Dunit-symbolstore.py232 def testVCSFilenameHg(self, mock_Popen): argument
234 mock_communicate = mock_Popen.return_value.communicate
247 def testVCSFilenameHgMultiple(self, mock_Popen): argument
249 mock_communicate = mock_Popen.return_value.communicate
340 def test_HGSERVER(self, mock_Popen, mock_call): argument
353 mock_Popen.return_value.stdout = iter(
360 mock_Popen.return_value.wait.return_value = 0
361 mock_communicate = mock_Popen.return_value.communicate
479 def testFileMapping(self, mock_Popen): argument
505 mock_Popen.return_value.stdout = mk_output(dumped_files)
[all …]
/dports/www/firefox-esr/firefox-91.8.0/toolkit/crashreporter/tools/
H A Dunit-symbolstore.py232 def testVCSFilenameHg(self, mock_Popen): argument
234 mock_communicate = mock_Popen.return_value.communicate
247 def testVCSFilenameHgMultiple(self, mock_Popen): argument
249 mock_communicate = mock_Popen.return_value.communicate
340 def test_HGSERVER(self, mock_Popen, mock_call): argument
353 mock_Popen.return_value.stdout = iter(
360 mock_Popen.return_value.wait.return_value = 0
361 mock_communicate = mock_Popen.return_value.communicate
479 def testFileMapping(self, mock_Popen): argument
505 mock_Popen.return_value.stdout = mk_output(dumped_files)
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/toolkit/crashreporter/tools/
H A Dunit-symbolstore.py196 def testVCSFilenameHg(self, mock_Popen): argument
198 mock_communicate = mock_Popen.return_value.communicate
207 def testVCSFilenameHgMultiple(self, mock_Popen): argument
209 mock_communicate = mock_Popen.return_value.communicate
284 def test_HGSERVER(self, mock_Popen, mock_call): argument
299 mock_Popen.return_value.stdout = iter([
304 mock_communicate = mock_Popen.return_value.communicate
411 def testFileMapping(self, mock_Popen): argument
443 mock_Popen.return_value.stdout = mk_output(dumped_files)
/dports/www/firefox-legacy/firefox-52.8.0esr/toolkit/crashreporter/tools/
H A Dunit-symbolstore.py245 def testVCSFilenameHg(self, mock_Popen): argument
247 mock_communicate = mock_Popen.return_value.communicate
256 def testVCSFilenameHgMultiple(self, mock_Popen): argument
258 mock_communicate = mock_Popen.return_value.communicate
339 def test_HGSERVER(self, mock_Popen, mock_call): argument
354 mock_Popen.return_value.stdout = iter([
359 mock_communicate = mock_Popen.return_value.communicate
467 def testFileMapping(self, mock_Popen): argument
495 mock_Popen.return_value.stdout = mk_output(dumped_files)
/dports/devel/py-invoke/invoke-1.6.0/tests/
H A Drunners.py1646 def defaults_to_bash_or_cmdexe_when_pty_False(self, mock_Popen): argument
1649 mock_Popen.call_args_list[0][1]["executable"]
1658 def may_be_overridden_when_pty_False(self, mock_Popen): argument
1660 assert mock_Popen.call_args_list[0][1]["executable"] == "/bin/zsh"
1667 def uses_Popen_kwarg_for_pty_False(self, mock_Popen): argument
1670 env = mock_Popen.call_args_list[0][1]["env"]