mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-31 15:12:20 +00:00 
			
		
		
		
	#707: Update tests
This commit is contained in:
		| @@ -149,11 +149,11 @@ class TestCache(object): | ||||
|     @pytest.fixture(autouse=True) | ||||
|     def enable_cache(self, monkeypatch, shelve): | ||||
|         monkeypatch.setattr('thefuck.utils.cache.disabled', False) | ||||
|         _cache._init_db() | ||||
|  | ||||
|     @pytest.fixture(autouse=True) | ||||
|     def mtime(self, mocker): | ||||
|         mocker.patch('thefuck.utils.os.path.getmtime', return_value=0) | ||||
|         _cache._init_db() | ||||
|  | ||||
|     @pytest.fixture | ||||
|     def fn(self): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user