Explorar el Código

Tests passing

Ask Solem hace 11 años
padre
commit
3aaff586ad
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      celery/tests/worker/test_control.py

+ 1 - 1
celery/tests/worker/test_control.py

@@ -119,7 +119,7 @@ class test_ControlPanel(AppCase):
     def setup(self):
         self.panel = self.create_panel(consumer=Consumer(self.app))
 
-        @self.app.task(rate_limit=200, shared=False)
+        @self.app.task(name='c.unittest.mytask', rate_limit=200, shared=False)
         def mytask():
             pass
         self.mytask = mytask