Browse Source

Sometimes identity hash length is 52, others 58

master
juga 1 year ago
parent
commit
9abac4e768
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      tests/test_gnunet.py

+ 3
- 2
tests/test_gnunet.py View File

@ -39,7 +39,8 @@ def test_list_identities():
def test_fetch_identity_keyhash():
r = REST_CLIENT.fetch_identity_keyhash("alice")
assert 52 == len(r)
# XXX: sometimes it's 58 and others 52
assert 52 <= len(r)
def test_fetch_identity_name():
@ -52,7 +53,7 @@ def test_fetch_identity_name():
def test_change_identity_name():
assert REST_CLIENT.change_identity_name("bob", "carol")
r = REST_CLIENT.fetch_identity_keyhash("carol")
assert 52 == len(r)
assert 52 <= len(r)
def test_delete_identity():


Loading…
Cancel
Save