1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-09-23 13:42:40 +01:00

#353 Cache aliases in a temporary file

This commit is contained in:
nvbn
2015-09-02 11:10:03 +03:00
parent ea6600be8b
commit 4129ff2717
4 changed files with 103 additions and 4 deletions

View File

@@ -10,3 +10,8 @@ def no_memoize(monkeypatch):
@pytest.fixture
def settings():
return Mock(debug=False, no_colors=True)
@pytest.fixture(autouse=True)
def no_cache(monkeypatch):
monkeypatch.setattr('thefuck.utils.cache.disabled', True)