#682: Ensure that script exists

This commit is contained in:
Vladimir Iakovlev
2017-09-03 10:10:50 +02:00
parent 1cae91b649
commit 4875d75a64
3 changed files with 44 additions and 8 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ def source_root():
@pytest.fixture
def set_shell(monkeypatch, request):
def set_shell(monkeypatch):
def _set(cls):
shell = cls()
monkeypatch.setattr('thefuck.shells.shell', shell)