From 938f1df0355a0364d82c8a2d9e2ccb929be999b7 Mon Sep 17 00:00:00 2001 From: nvbn Date: Sat, 2 May 2015 04:56:23 +0200 Subject: [PATCH] Remove not used fixture --- tests/test_main.py | 6 ------ 1 file changed, 6 deletions(-) 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)],