예제 #1
0
    def test_memory_cache_drop(self):
        "Test MemoryCache drop"
        cache.set('foo', 'bar')
        MemoryCache.drop(DB_NAME)

        self.assertEqual(cache.get('foo'), None)
예제 #2
0
 def tearDown(self):
     MemoryCache.drop(DB_NAME)