trezor: add ping for self-test

This commit is contained in:
Roman Zeyde
2015-08-18 21:30:58 +03:00
parent 783722edce
commit 5d510c4a60
2 changed files with 6 additions and 0 deletions

View File

@@ -25,6 +25,8 @@ class Client(object):
log.debug('revision : %s', binascii.hexlify(f.revision))
def __enter__(self):
msg = 'Hello World!'
assert self.client.ping(msg) == msg
return self
def __exit__(self, *args):