Browse Source

Fixed test to pass in django 1.1

Vitaly Babiy 15 years ago
parent
commit
3fed8d4bf2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      celery/tests/test_worker_job.py

+ 1 - 0
celery/tests/test_worker_job.py

@@ -72,6 +72,7 @@ class TestJail(unittest.TestCase):
         cache.settings.CACHE_BACKEND = "libmemcached"
         cache._was_closed = False
         old_cache_parse_backend = getattr(cache, "parse_backend_uri", None)
+        delattr(cache, 'parse_backend_uri')
 
         def monkeypatched_cache_close(*args, **kwargs):
             cache._was_closed = True