We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3eb5be commit d1180aaCopy full SHA for d1180aa
tests/test_common.py
@@ -58,15 +58,14 @@ def test_error_version_less_1_7():
58
has_required_tmux_version('1.9a')
59
60
61
-def test_which_no_bin_found(monkeypatch):
62
- monkeypatch.setenv("PATH", "/")
+def test_which_no_bin_found():
63
assert which('top')
64
assert which('top', default_paths=[])
65
assert not which('top', default_paths=[], append_env_path=False)
66
assert not which('top', default_paths=['/'], append_env_path=False)
67
68
69
-def test_tmux_cmd_raises_on_not_found(monkeypatch):
+def test_tmux_cmd_raises_on_not_found():
70
with pytest.raises(TmuxCommandNotFound):
71
tmux_cmd('-V', tmux_search_paths=[], append_env_path=False)
72
0 commit comments