(self)
| 155 | self.assertEqual(2, result.fetch()) |
| 156 | |
| 157 | def test_loops(self): |
| 158 | with Task() as task: |
| 159 | out_actual = self._actual_loop() |
| 160 | with LocalSession() as session: |
| 161 | session.run(task) |
| 162 | expected = self._expected_loop() |
| 163 | actual = [o.fetch() for o in out_actual] |
| 164 | for e, a in zip(expected, actual): |
| 165 | self.assertEqual(e, a) |
| 166 | |
| 167 | def test_setup(self): |
| 168 | with Task() as task: |
nothing calls this directly
no test coverage detected