diff --git a/tests/test_main.py b/tests/test_main.py index 45e48806..68912cfe 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -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)],