1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-09-18 19:22:32 +01:00

#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

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)