trezor: simplify client API

This commit is contained in:
Roman Zeyde
2015-08-19 17:40:16 +03:00
parent 5d510c4a60
commit e4a7d9aa06
3 changed files with 5 additions and 7 deletions

View File

@@ -80,7 +80,7 @@ SIG = (b'\x00R\x19T\xf2\x84$\xef#\x0e\xee\x04X\xc6\xc3\x99T`\xd1\xd8\xf7!'
def test_ssh_agent():
c = client.Client(factory=FactoryMock)
ident = c.get_identity(label='localhost:22', protocol='ssh')
ident = c.get_identity(label='localhost:22')
assert ident.host == 'localhost'
assert ident.proto == 'ssh'
assert ident.port == '22'