We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdef76b commit 1064d49Copy full SHA for 1064d49
djcelery/tests/test_backends/test_database.py
@@ -1,5 +1,7 @@
1
from __future__ import absolute_import, unicode_literals
2
3
+import celery
4
+
5
from datetime import timedelta
6
7
from celery import current_app
@@ -65,6 +67,9 @@ def test_forget(self):
65
67
x = AsyncResult(tid)
66
68
self.assertEqual(x.result.get('foo'), 'bar')
69
x.forget()
70
+ if celery.VERSION[0:3] == (3, 1, 10):
71
+ # bug in 3.1.10 means result did not clear cache after forget.
72
+ x._cache = None
73
self.assertIsNone(x.result)
74
75
def test_group_store(self):
0 commit comments