mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-31 07:04:12 +00:00 
			
		
		
		
	Remove not used fixture
This commit is contained in:
		| @@ -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)], | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user