Read a line from the prepared input queue.
(self)
| 50 | pass |
| 51 | |
| 52 | def readline(self) -> bytes: |
| 53 | """Read a line from the prepared input queue.""" |
| 54 | if not self.input_queue: |
| 55 | return b"" |
| 56 | return self.input_queue.pop(0) |
| 57 | |
| 58 | def close(self) -> None: |
| 59 | """Close the mock socket file.""" |
no test coverage detected