Browse Source

Fixes build

Ask Solem 9 years ago
parent
commit
0d10f9c71b
2 changed files with 4 additions and 0 deletions
  1. 3 0
      celery/tests/backends/test_amqp.py
  2. 1 0
      celery/tests/tasks/test_result.py

+ 3 - 0
celery/tests/backends/test_amqp.py

@@ -29,6 +29,9 @@ class SomeClass(object):
 
 class test_AMQPBackend(AppCase):
 
+    def setup(self):
+        self.app.conf.result_cache_max = 100
+
     def create_backend(self, **opts):
         opts = dict(dict(serializer='pickle', persistent=True), **opts)
         return AMQPBackend(self.app, **opts)

+ 1 - 0
celery/tests/tasks/test_result.py

@@ -49,6 +49,7 @@ def make_mock_group(app, size=10):
 class test_AsyncResult(AppCase):
 
     def setup(self):
+        self.app.conf.result_cache_max = 100
         self.app.conf.result_serializer = 'pickle'
         self.task1 = mock_task('task1', states.SUCCESS, 'the')
         self.task2 = mock_task('task2', states.SUCCESS, 'quick')