1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-09-25 06:32:37 +01:00

#441: Move function for getting current alias to utils

This commit is contained in:
nvbn
2016-01-29 12:22:31 +03:00
parent 0b2bda9e85
commit a2ec5aa3ff
6 changed files with 14 additions and 15 deletions

View File

@@ -12,7 +12,7 @@ def history(mocker):
@pytest.fixture
def alias(mocker):
return mocker.patch('thefuck.rules.history.thefuck_alias',
return mocker.patch('thefuck.rules.history.get_alias',
return_value='fuck')