mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-30 06:34:09 +00:00 
			
		
		
		
	Remove obscure RulesNamesList and DefaultRulesNames
				
					
				
			This commit is contained in:
		| @@ -2,15 +2,6 @@ import pytest | ||||
| import six | ||||
| from mock import Mock | ||||
| from thefuck import conf | ||||
| from tests.utils import Rule | ||||
|  | ||||
|  | ||||
| @pytest.mark.parametrize('enabled, rules, result', [ | ||||
|     (True, conf.DEFAULT_RULES, True), | ||||
|     (False, conf.DEFAULT_RULES, False), | ||||
|     (False, conf.DEFAULT_RULES + ['test'], True)]) | ||||
| def test_default(enabled, rules, result): | ||||
|     assert (Rule('test', enabled_by_default=enabled) in rules) == result | ||||
|  | ||||
|  | ||||
| @pytest.fixture | ||||
|   | ||||
		Reference in New Issue
	
	Block a user