/dports/x11-wm/qtile/qtile-0.18.1/test/widgets/ |
H A D | test_gmail_checker.py | 54 def test_gmail_checker_valid_response(fake_qtile, monkeypatch, fake_window): argument 55 monkeypatch.setitem(sys.modules, "imaplib", FakeIMAP("imaplib")) 69 def test_gmail_checker_invalid_response(fake_qtile, monkeypatch, fake_window): argument 70 monkeypatch.setitem(sys.modules, "imaplib", FakeIMAP("imaplib")) 86 def test_gmail_checker_only_unseen(fake_qtile, monkeypatch, fake_window): argument 87 monkeypatch.setitem(sys.modules, "imaplib", FakeIMAP("imaplib"))
|
/dports/dns/py-dns-lexicon/dns-lexicon-3.8.3/lexicon/tests/ |
H A D | test_config.py | 8 def test_environment_resolution(monkeypatch): argument 9 monkeypatch.setenv("LEXICON_DELEGATED", "TEST1") 10 monkeypatch.setenv("LEXICON_CLOUDFLARE_TOKEN", "TEST2") 11 monkeypatch.setenv("LEXICON_CLOUDFLARE_AUTH_USERNAME", "TEST3") 117 def test_prioritized_resolution(tmpdir, monkeypatch): argument 121 monkeypatch.setenv("LEXICON_CLOUDFLARE_AUTH_TOKEN", "TEST2")
|
/dports/sysutils/py-ansible-core/ansible-core-2.11.6/test/units/plugins/action/ |
H A D | test_pause.py | 22 def test_pause_curses_tigetstr_none(mocker, monkeypatch): argument 23 monkeypatch.delitem(sys.modules, 'ansible.plugins.action.pause') 45 def test_pause_missing_curses(mocker, monkeypatch): argument 46 monkeypatch.delitem(sys.modules, 'ansible.plugins.action.pause') 69 def test_pause_curses_setupterm_error(mocker, monkeypatch, exc): argument 70 monkeypatch.delitem(sys.modules, 'ansible.plugins.action.pause')
|
/dports/www/firefox-esr/firefox-91.8.0/python/mozversioncontrol/test/ |
H A D | test_push_to_try.py | 18 def test_push_to_try(repo, monkeypatch): 27 monkeypatch.setattr(subprocess, "check_output", fake_run) 28 monkeypatch.setattr(subprocess, "check_call", fake_run) 65 def test_push_to_try_missing_extensions(repo, monkeypatch): 79 monkeypatch.setattr(vcs, "_run", cinnabar_raises)
|
/dports/www/qutebrowser/qutebrowser-2.4.0/tests/unit/config/ |
H A D | test_websettings.py | 82 def test_user_agent(monkeypatch, config_stub, qapp): argument 85 monkeypatch.setattr(objects, 'backend', usertypes.Backend.QtWebEngine) 95 def test_config_init(request, monkeypatch, config_stub): argument 98 monkeypatch.setattr(webenginesettings, 'init', lambda: None) 101 monkeypatch.setattr(webkitsettings, 'init', lambda: None)
|
/dports/lang/spidermonkey60/firefox-60.9.0/python/mozversioncontrol/test/ |
H A D | test_push_to_try.py | 18 def test_push_to_try(repo, monkeypatch): argument 27 monkeypatch.setattr(subprocess, 'check_output', fake_run) 28 monkeypatch.setattr(subprocess, 'check_call', fake_run) 53 def test_push_to_try_missing_extensions(repo, monkeypatch): argument 64 monkeypatch.setattr(vcs, '_run', cinnabar_raises)
|
/dports/mail/thunderbird/thunderbird-91.8.0/python/mozversioncontrol/test/ |
H A D | test_push_to_try.py | 18 def test_push_to_try(repo, monkeypatch): argument 27 monkeypatch.setattr(subprocess, "check_output", fake_run) 28 monkeypatch.setattr(subprocess, "check_call", fake_run) 65 def test_push_to_try_missing_extensions(repo, monkeypatch): argument 79 monkeypatch.setattr(vcs, "_run", cinnabar_raises)
|
/dports/lang/spidermonkey78/firefox-78.9.0/python/mozversioncontrol/test/ |
H A D | test_push_to_try.py | 18 def test_push_to_try(repo, monkeypatch): argument 27 monkeypatch.setattr(subprocess, 'check_output', fake_run) 28 monkeypatch.setattr(subprocess, 'check_call', fake_run) 54 def test_push_to_try_missing_extensions(repo, monkeypatch): argument 68 monkeypatch.setattr(vcs, '_run', cinnabar_raises)
|
/dports/math/py-Diofant/Diofant-0.13.0/diofant/tests/ |
H A D | test_config.py | 6 def test_configure(monkeypatch): argument 8 monkeypatch.setenv('DIOFANT_HEU_GCD_MAX', '7') 11 monkeypatch.setenv('DIOFANT_HEU_GCD_MAX', '1^2') 14 monkeypatch.setenv('DIOFANT_HEU_GCD_MAX', '"abcd"')
|
/dports/math/py-arviz/arviz-0.11.4/arviz/tests/base_tests/ |
H A D | test_helpers.py | 7 def test_importorskip_local(monkeypatch): argument 9 monkeypatch.delenv("ARVIZ_CI_MACHINE", raising=False) 14 def test_importorskip_ci(monkeypatch): argument 16 monkeypatch.setenv("ARVIZ_CI_MACHINE", 1)
|
/dports/devel/py-ddtrace/ddtrace-0.56.1/tests/profiling/collector/ |
H A D | conftest.py | 8 def tracer(monkeypatch): argument 9 monkeypatch.setenv("DD_TRACE_STARTUP_LOGS", "0") 14 def profiler(monkeypatch): argument 15 monkeypatch.setenv("DD_PROFILING_API_TIMEOUT", "0.1")
|
/dports/deskutils/py-vdirsyncer/vdirsyncer-0.18.0/tests/storage/dav/ |
H A D | __init__.py | 28 def test_dav_empty_get_multi_performance(self, s, monkeypatch): argument 32 monkeypatch.setattr("requests.sessions.Session.request", breakdown) 38 monkeypatch.undo() 40 def test_dav_unicode_href(self, s, get_item, monkeypatch): argument 44 monkeypatch.setattr(s, "_get_href", lambda item: item.ident + s.fileext)
|
/dports/www/firefox-esr/firefox-91.8.0/testing/mozbase/mozdebug/tests/ |
H A D | test.py | 20 def set_debuggers(monkeypatch): 29 monkeypatch.setenv("PATH", os.pathsep.join(dirs)) 35 def test_default_debugger_name(os_name, set_debuggers, monkeypatch): 42 monkeypatch.setattr(mozinfo, "find_and_update_from_json", update_os_name) 47 monkeypatch.setattr(sys, "platform", "linux")
|
/dports/www/firefox/firefox-99.0/python/mozversioncontrol/test/ |
H A D | test_push_to_try.py | 18 def test_push_to_try(repo, monkeypatch): argument 27 monkeypatch.setattr(subprocess, "check_output", fake_run) 28 monkeypatch.setattr(subprocess, "check_call", fake_run) 65 def test_push_to_try_missing_extensions(repo, monkeypatch): argument 79 monkeypatch.setattr(vcs, "_run", cinnabar_raises)
|
/dports/www/firefox/firefox-99.0/testing/mozbase/mozdebug/tests/ |
H A D | test.py | 20 def set_debuggers(monkeypatch): argument 29 monkeypatch.setenv("PATH", os.pathsep.join(dirs)) 35 def test_default_debugger_name(os_name, set_debuggers, monkeypatch): argument 42 monkeypatch.setattr(mozinfo, "find_and_update_from_json", update_os_name) 47 monkeypatch.setattr(sys, "platform", "linux")
|
/dports/lang/spidermonkey60/firefox-60.9.0/testing/mozbase/mozdebug/tests/ |
H A D | test.py | 20 def set_debuggers(monkeypatch): argument 29 monkeypatch.setenv('PATH', os.pathsep.join(dirs)) 35 def test_default_debugger_name(os_name, set_debuggers, monkeypatch): argument 42 monkeypatch.setattr(mozinfo, 'find_and_update_from_json', update_os_name) 47 monkeypatch.setattr(sys, 'platform', 'linux')
|
/dports/mail/thunderbird/thunderbird-91.8.0/testing/mozbase/mozdebug/tests/ |
H A D | test.py | 20 def set_debuggers(monkeypatch): argument 29 monkeypatch.setenv("PATH", os.pathsep.join(dirs)) 35 def test_default_debugger_name(os_name, set_debuggers, monkeypatch): argument 42 monkeypatch.setattr(mozinfo, "find_and_update_from_json", update_os_name) 47 monkeypatch.setattr(sys, "platform", "linux")
|
/dports/lang/spidermonkey78/firefox-78.9.0/testing/mozbase/mozdebug/tests/ |
H A D | test.py | 20 def set_debuggers(monkeypatch): argument 29 monkeypatch.setenv('PATH', os.pathsep.join(dirs)) 35 def test_default_debugger_name(os_name, set_debuggers, monkeypatch): argument 42 monkeypatch.setattr(mozinfo, 'find_and_update_from_json', update_os_name) 47 monkeypatch.setattr(sys, 'platform', 'linux')
|
/dports/devel/py-tox/tox-3.12.1/tests/unit/util/ |
H A D | test_util.py | 6 def test_set_os_env_var_clean_env(monkeypatch): argument 7 monkeypatch.delenv("ENV", raising=False) 13 def test_set_os_env_var_exist_env(monkeypatch): argument 14 monkeypatch.setenv("ENV", "b")
|
/dports/www/qutebrowser/qutebrowser-2.4.0/tests/unit/misc/ |
H A D | test_guiprocess.py | 50 def fake_proc(monkeypatch, stubs): argument 53 monkeypatch.setattr(p, '_proc', stubs.FakeProcess()) 63 def test_no_process(self, tab, monkeypatch): argument 64 monkeypatch.setattr(guiprocess, 'last_pid', None) 68 def test_last_pid(self, tab, monkeypatch, fake_proc): argument 69 monkeypatch.setattr(guiprocess, 'last_pid', 1234) 76 monkeypatch.setattr(guiprocess, 'last_pid', 1234) 87 def test_cleaned_up_pid(self, tab, monkeypatch): argument 100 def test_kill(self, tab, monkeypatch, fake_proc): argument 297 def test_start_env(monkeypatch, qtbot, py_proc): argument [all …]
|
/dports/devel/py-twine/twine-3.7.0/tests/ |
H A D | test_main.py | 20 def test_exception_handling(monkeypatch): argument 21 monkeypatch.setattr(sys, "argv", ["twine", "upload", "missing.whl"]) 26 def test_no_color_exception(monkeypatch): argument 27 monkeypatch.setattr(sys, "argv", ["twine", "--no-color", "upload", "missing.whl"])
|
/dports/www/py-sseclient/sseclient-0.0.27/ |
H A D | test_sseclient.py | 100 def test_last_id_remembered(monkeypatch, encoding): argument 103 monkeypatch.setattr(requests, 'get', fake_get) 114 def test_retry_remembered(monkeypatch): argument 117 monkeypatch.setattr(requests, 'get', fake_get) 127 def test_extra_newlines_after_event(monkeypatch): argument 145 monkeypatch.setattr(requests, 'get', fake_get) 161 def multiple_responses(monkeypatch): argument 168 monkeypatch.setattr(requests, 'get', fake_get) 224 def unicode_multibyte_responses(monkeypatch): argument 231 monkeypatch.setattr(requests, 'get', fake_get)
|
/dports/math/py-pandas/pandas-1.2.5/pandas/tests/plotting/ |
H A D | test_backend.py | 34 def test_backend_is_correct(monkeypatch, restore_backend): argument 35 monkeypatch.setitem(sys.modules, "pandas_dummy_backend", dummy_backend) 44 def test_backend_can_be_set_in_plot_call(monkeypatch, restore_backend): argument 45 monkeypatch.setitem(sys.modules, "pandas_dummy_backend", dummy_backend) 102 def test_extra_kinds_ok(monkeypatch, restore_backend): argument 104 monkeypatch.setitem(sys.modules, "pandas_dummy_backend", dummy_backend)
|
/dports/devel/py-ddtrace/ddtrace-0.56.1/tests/runtime/ |
H A D | test_runtime_metrics_api.py | 49 def test_start_runtime_metrics_via_env_var(monkeypatch, ddtrace_run_python_code_in_subprocess): argument 63 monkeypatch.setenv("DD_RUNTIME_METRICS_ENABLED", "true") 73 def test_runtime_metrics_via_env_var_manual_start(monkeypatch, ddtrace_run_python_code_in_subproces… argument 79 monkeypatch.setenv("DD_RUNTIME_METRICS_ENABLED", "true") 133 def test_runtime_metrics_enable_environ(monkeypatch, environ): argument 136 monkeypatch.setenv(k, v)
|
/dports/devel/py-cookiecutter/cookiecutter-1.7.3/tests/ |
H A D | test_get_user_config.py | 109 monkeypatch, custom_config_path, custom_config argument 112 monkeypatch.setenv('COOKIECUTTER_CONFIG', custom_config_path) 128 def test_expand_user_for_directories_in_config(monkeypatch): argument 134 monkeypatch.setattr('os.path.expanduser', _expanduser) 143 def test_expand_vars_for_directories_in_config(monkeypatch): argument 145 monkeypatch.setenv('COOKIES', 'Users/bob/cookies')
|