Source

django-cache-utils / cache_utils / tests.py

Diff from to

File cache_utils/tests.py

 
 from django.core.cache import cache
 from cache_utils.decorators import cached
-from cache_utils.utils import sanitize_memcached_key, _func_type, _func_info,\
-    readable_cache_key
+from cache_utils.utils import sanitize_memcached_key, _func_type, _func_info
 
 def foo(a,b):
     pass
         self.assertTrue(len(key) <= 40)
 
 
-class ReadableKeysTest(TestCase):
-
-    def test_key_is_readable(self):
-        key = readable_cache_key(foo, [1], {'b': 'foo'})
-        self.assertEqual(key, u"[cached]cache_utils.tests.foo([1]{'b': 'foo'})")
-
-
 class ClearMemcachedTest(TestCase):
     def tearDown(self):
         cache._cache.flush_all()