def test_memory_cache_drop(self): "Test MemoryCache drop" cache.set('foo', 'bar') MemoryCache.drop(DB_NAME) self.assertEqual(cache.get('foo'), None)
def tearDown(self): MemoryCache.drop(DB_NAME)