(self, command, recv_termination=None, expected='ok')
| 55 | return super().query(command, send_args=send_args, recv_args=recv_args) |
| 56 | |
| 57 | def query_expect(self, command, recv_termination=None, expected='ok'): |
| 58 | ans = self.query(command, recv_args=(recv_termination, HRI.ENCODING)) |
| 59 | if expected and not expected in ans: |
| 60 | raise InstrumentError("'{}' not in '{}'".format(expected, ans)) |
| 61 | return ans |
| 62 | |
| 63 | @Action() |
| 64 | def clear(self): |
no test coverage detected