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

@@ -42,6 +42,10 @@ class ConnectionMock(object):
result.node.public_key = PUBKEY
return result
def ping(self, msg):
assert not self.closed
return msg
class FactoryMock(object):