(self)
| 568 | self.assertEqual(result, [(sync_handler, 1), (async_handler, 1)]) |
| 569 | |
| 570 | def test_send(self): |
| 571 | sync_handler = SyncHandler() |
| 572 | async_handler = AsyncHandler() |
| 573 | signal = dispatch.Signal() |
| 574 | signal.connect(sync_handler) |
| 575 | signal.connect(async_handler) |
| 576 | result = signal.send(self.__class__) |
| 577 | self.assertEqual(result, [(sync_handler, 1), (async_handler, 1)]) |
| 578 | |
| 579 | def test_send_robust(self): |
| 580 | class ReceiverException(Exception): |
nothing calls this directly
no test coverage detected