mirror of
https://github.com/nvbn/thefuck.git
synced 2025-02-21 12:28:41 +00:00
Remove not used fixture
This commit is contained in:
parent
2acfea3350
commit
938f1df035
@ -78,12 +78,6 @@ class TestGetCommand(object):
|
|||||||
|
|
||||||
|
|
||||||
class TestGetMatchedRule(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):
|
def test_no_match(self):
|
||||||
assert main.get_matched_rule(
|
assert main.get_matched_rule(
|
||||||
Command('ls'), [Rule('', lambda *_: False)],
|
Command('ls'), [Rule('', lambda *_: False)],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user