diff --git a/tests/rules/test_goenv_no_such_command.py b/tests/rules/test_goenv_no_such_command.py index 7388ba70..6a7dd6f5 100644 --- a/tests/rules/test_goenv_no_such_command.py +++ b/tests/rules/test_goenv_no_such_command.py @@ -11,7 +11,7 @@ def output(goenv_cmd): @pytest.fixture(autouse=True) def Popen(mocker): - mock = mocker.patch('thefuck.rules.pyenv_no_such_command.Popen') + mock = mocker.patch('thefuck.rules.goenv_no_such_command.Popen') mock.return_value.stdout.readlines.return_value = ( b'--version\nactivate\ncommands\ncompletions\ndeactivate\nexec_\n' b'global\nhelp\nhooks\ninit\ninstall\nlocal\nprefix_\n' diff --git a/tests/rules/test_nodenv_no_such_command.py b/tests/rules/test_nodenv_no_such_command.py index c87cf376..7cae53f9 100644 --- a/tests/rules/test_nodenv_no_such_command.py +++ b/tests/rules/test_nodenv_no_such_command.py @@ -11,7 +11,7 @@ def output(nodenv_cmd): @pytest.fixture(autouse=True) def Popen(mocker): - mock = mocker.patch('thefuck.rules.pyenv_no_such_command.Popen') + mock = mocker.patch('thefuck.rules.nodenv_no_such_command.Popen') mock.return_value.stdout.readlines.return_value = ( b'--version\nactivate\ncommands\ncompletions\ndeactivate\nexec_\n' b'global\nhelp\nhooks\ninit\ninstall\nlocal\nprefix_\n' diff --git a/tests/rules/test_rbenv_no_such_command.py b/tests/rules/test_rbenv_no_such_command.py index 6bc9da51..b9bf248b 100644 --- a/tests/rules/test_rbenv_no_such_command.py +++ b/tests/rules/test_rbenv_no_such_command.py @@ -11,7 +11,7 @@ def output(rbenv_cmd): @pytest.fixture(autouse=True) def Popen(mocker): - mock = mocker.patch('thefuck.rules.pyenv_no_such_command.Popen') + mock = mocker.patch('thefuck.rules.rbenv_no_such_command.Popen') mock.return_value.stdout.readlines.return_value = ( b'--version\nactivate\ncommands\ncompletions\ndeactivate\nexec_\n' b'global\nhelp\nhooks\ninit\ninstall\nlocal\nprefix_\n'