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

#441: Remove shells methods wrappers

This commit is contained in:
nvbn
2016-01-29 13:09:40 +03:00
parent b5dc7aab6d
commit fe07fcaa62
34 changed files with 86 additions and 119 deletions

View File

@@ -1,5 +1,5 @@
from thefuck import shells
from thefuck.rules.git_branch_list import match, get_new_command
from thefuck.shells import shell
from tests.utils import Command
@@ -16,4 +16,4 @@ def test_not_match():
def test_get_new_command():
assert (get_new_command(Command('git branch list')) ==
shells.and_('git branch --delete list', 'git branch'))
shell.and_('git branch --delete list', 'git branch'))