mirror of
https://github.com/nvbn/thefuck.git
synced 2025-09-27 07:32:33 +01:00
#441: Remove shells methods wrappers
This commit is contained in:
@@ -5,7 +5,7 @@ from tests.utils import Command
|
||||
|
||||
@pytest.fixture
|
||||
def history(mocker):
|
||||
return mocker.patch('thefuck.rules.history.get_history',
|
||||
return mocker.patch('thefuck.shells.shell.get_history',
|
||||
return_value=['le cat', 'fuck', 'ls cat',
|
||||
'diff x', 'nocommand x'])
|
||||
|
||||
|
Reference in New Issue
Block a user