services/presence/test_psutils: trivial check for pubkey_to_keyid()
This commit is contained in:
parent
ea892796ae
commit
2f8ef7bd3b
@ -1,4 +1,8 @@
|
||||
from psutils import escape_identifier
|
||||
print "Running test_psutils..."
|
||||
|
||||
from psutils import escape_identifier, pubkey_to_keyid
|
||||
|
||||
assert pubkey_to_keyid('abc') == 'a9993e364706816aba3e25717850c26c9cd0d89d'
|
||||
|
||||
assert escape_identifier('') == '_'
|
||||
assert escape_identifier('_') == '_5f'
|
||||
|
Loading…
Reference in New Issue
Block a user