#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
+1
View File
@@ -18,4 +18,5 @@ def history_lines(mocker):
mock = mocker.patch('io.open')
mock.return_value.__enter__ \
.return_value.readlines.return_value = lines
return aux
+1 -1
View File
@@ -4,7 +4,7 @@ import pytest
from thefuck.shells import Bash
@pytest.mark.usefixtures('isfile')
@pytest.mark.usefixtures('isfile', 'no_memoize', 'no_cache')
class TestBash(object):
@pytest.fixture
def shell(self):
+1 -1
View File
@@ -4,7 +4,7 @@ import pytest
from thefuck.shells import Fish
@pytest.mark.usefixtures('isfile')
@pytest.mark.usefixtures('isfile', 'no_memoize', 'no_cache')
class TestFish(object):
@pytest.fixture
def shell(self):
+1 -1
View File
@@ -4,7 +4,7 @@ import pytest
from thefuck.shells.tcsh import Tcsh
@pytest.mark.usefixtures('isfile')
@pytest.mark.usefixtures('isfile', 'no_memoize', 'no_cache')
class TestTcsh(object):
@pytest.fixture
def shell(self):
+1 -1
View File
@@ -4,7 +4,7 @@ import pytest
from thefuck.shells.zsh import Zsh
@pytest.mark.usefixtures('isfile')
@pytest.mark.usefixtures('isfile', 'no_memoize', 'no_cache')
class TestZsh(object):
@pytest.fixture
def shell(self):