1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-14 06:38:32 +00:00

Merge 59500dd5ba08fd4dbefe43f0300336f5c69e37fb into c7e7e1d884d3bb241ea6448f72a989434c2a35ec

This commit is contained in:
Carl Smedstad 2024-09-28 16:15:15 +00:00 committed by GitHub
commit 5c7bf2e3c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -265,6 +265,7 @@ class TestGetValidHistoryWithoutCurrent(object):
path_mock = mocker.Mock(iterdir=mocker.Mock(return_value=callables))
return mocker.patch('thefuck.utils.Path', return_value=path_mock)
@pytest.mark.usefixtures('no_memoize')
@pytest.mark.parametrize('script, result', [
('le cat', ['ls cat', 'diff x', u'café ô']),
('diff x', ['ls cat', u'café ô']),