util: move BIP32 address related functions

This commit is contained in:
Roman Zeyde
2016-08-11 22:30:59 +03:00
parent 5d0b0f65d3
commit c4bbac0e77
5 changed files with 64 additions and 61 deletions

View File

@@ -87,8 +87,8 @@ def test_ssh_agent():
def ssh_sign_identity(identity, challenge_hidden,
challenge_visual, ecdsa_curve_name):
assert (client.identity_to_string(identity) ==
client.identity_to_string(ident))
assert (util.identity_to_string(identity) ==
util.identity_to_string(ident))
assert challenge_hidden == BLOB
assert challenge_visual == ''
assert ecdsa_curve_name == 'nist256p1'
@@ -133,4 +133,4 @@ def test_utils():
identity.path = '/path'
url = 'https://user@host:443/path'
assert client.identity_to_string(identity) == url
assert util.identity_to_string(identity) == url