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

#N/A Add history rule

This commit is contained in:
nvbn
2015-07-10 17:58:41 +03:00
parent f40b63f44b
commit 7ebc8a38af
8 changed files with 99 additions and 31 deletions

View File

@@ -1,4 +1,3 @@
import pytest
from thefuck import types
from thefuck.conf import DEFAULT_PRIORITY
@@ -15,7 +14,3 @@ def Rule(name='', match=lambda *_: True,
return types.Rule(name, match, get_new_command,
enabled_by_default, side_effect,
priority)
@pytest.fixture
def no_memoize(monkeypatch):
monkeypatch.setattr('thefuck.utils.memoize.disabled', True)