Browse Source

More tests for empty groups

Ask Solem 11 years ago
parent
commit
be65e4ad25
1 changed files with 3 additions and 0 deletions
  1. 3 0
      celery/tests/tasks/test_canvas.py

+ 3 - 0
celery/tests/tasks/test_canvas.py

@@ -273,6 +273,9 @@ class test_group(CanvasCase):
     def test_call_empty_group(self):
         x = group(app=self.app)
         self.assertFalse(len(x()))
+        x.delay()
+        x.apply_async()
+        x()
 
     def test_skew(self):
         g = group([self.add.s(i, i) for i in range(10)])