1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-02-20 20:09:07 +00:00

Remove not used fixture

This commit is contained in:
nvbn 2015-05-02 04:56:23 +02:00
parent 2acfea3350
commit 938f1df035

View File

@ -78,12 +78,6 @@ class TestGetCommand(object):
class TestGetMatchedRule(object):
@pytest.fixture
def rules(self):
return [Rule('', lambda x, _: x.script == 'cd ..'),
Rule('', lambda *_: False),
Rule('rule', Mock(side_effect=OSError('Denied')))]
def test_no_match(self):
assert main.get_matched_rule(
Command('ls'), [Rule('', lambda *_: False)],