(self)
| 2122 | |
| 2123 | class TestTaskChaining(BaseTestCase): |
| 2124 | def test_pipeline_tuple(self): |
| 2125 | @self.huey.task() |
| 2126 | def fib(a, b=1): |
| 2127 | a, b = a + b, a |
| 2128 | return a, b |
| 2129 | |
| 2130 | pipe = fib.s(1).then(fib).then(fib).then(fib) |
| 2131 | self.assertPipe(pipe, [(2, 1), (3, 2), (5, 3), (8, 5)]) |
| 2132 | |
| 2133 | def test_pipeline_dict(self): |
| 2134 | @self.huey.task() |
nothing calls this directly
no test coverage detected