def test_no_connection(self):
        connection = pop_connection()

        cache_manager = CacheManager()

        @cache_manager.cache
        def testfunc(a):
            return u'Cached "%s"' % unicode(a)

        val = testfunc('TEST')

        assert connection.get('cache:testfunc:TEST') is None
 def tearDown(self):
     pop_connection()