(self)
| 728 | assert not x() |
| 729 | |
| 730 | def test_call_with_tasks(self): |
| 731 | x = self.add.s(2, 2) | self.add.s(4) |
| 732 | x.apply_async = Mock() |
| 733 | x(2, 2, foo=1) |
| 734 | x.apply_async.assert_called_with((2, 2), {'foo': 1}) |
| 735 | |
| 736 | def test_from_dict_no_args__with_args(self): |
| 737 | x = dict(self.add.s(2, 2) | self.add.s(4)) |