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:
@@ -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')
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user