| Total Complexity | 4 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Changes | 8 | ||
| Bugs | 1 | Features | 0 |
| 1 | from synergine.core.connection.Terminal import Terminal |
||
| 4 | class TestTerminal(Terminal): |
||
| 5 | _name = 'tests_test' |
||
| 6 | receive_callback = None |
||
| 7 | |||
| 8 | def __init__(self, config, context, synergy_manager): |
||
| 9 | super().__init__(config, context, synergy_manager) |
||
| 10 | |||
| 11 | # TODO: inutile non ? |
||
| 12 | def receive(self, actions_done): |
||
| 13 | if self.receive_callback: |
||
| 14 | self.receive_callback(self, actions_done) |
||
| 15 | |||
| 16 | def get_synergy_object_manager(self): |
||
| 17 | return self._synergy_manager |