(self)
| 7 | class test_DependencyGraph: |
| 8 | |
| 9 | def graph1(self): |
| 10 | res_a = self.app.AsyncResult('A') |
| 11 | res_b = self.app.AsyncResult('B') |
| 12 | res_c = self.app.GroupResult('C', [res_a]) |
| 13 | res_d = self.app.GroupResult('D', [res_c, res_b]) |
| 14 | node_a = (res_a, []) |
| 15 | node_b = (res_b, []) |
| 16 | node_c = (res_c, [res_a]) |
| 17 | node_d = (res_d, [res_c, res_b]) |
| 18 | return DependencyGraph([ |
| 19 | node_a, |
| 20 | node_b, |
| 21 | node_c, |
| 22 | node_d, |
| 23 | ]) |
| 24 | |
| 25 | def test_repr(self): |
| 26 | assert repr(self.graph1()) |
no test coverage detected