Add input that will be returned by readline.
(self, data: dict)
| 60 | pass |
| 61 | |
| 62 | def add_input(self, data: dict) -> None: |
| 63 | """Add input that will be returned by readline.""" |
| 64 | self.input_queue.append(json.dumps(data).encode() + b"\n") |
| 65 | |
| 66 | def get_output(self) -> List[dict]: |
| 67 | """Get the output that was written by the object being tested.""" |
no test coverage detected