(self)
| 715 | assert res == 20 |
| 716 | |
| 717 | def test_single_expresion(self): |
| 718 | x = chain(self.add.s(1, 2)).apply() |
| 719 | assert x.get() == 3 |
| 720 | assert x.parent is None |
| 721 | |
| 722 | def test_empty_chain_returns_none(self): |
| 723 | assert chain(app=self.app)() is None |