From: W. Trevor King Date: Sat, 6 Oct 2012 15:22:37 +0000 (-0400) Subject: key: add a UserID.uid doctest to ensure proper XML unescaping. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4995e32e0adadd26030c4b1e652bef93f93738df;p=pgp-mime.git key: add a UserID.uid doctest to ensure proper XML unescaping. --- diff --git a/pgp_mime/key.py b/pgp_mime/key.py index 7aa1c8a..3a5ab48 100644 --- a/pgp_mime/key.py +++ b/pgp_mime/key.py @@ -125,6 +125,8 @@ def lookup_keys(patterns=None): [, ] >>> key.uids [] + >>> key.uids[0].uid + 'pgp-mime-test (http://blog.tremily.us/posts/pgp-mime/) ' >>> key.can_encrypt True >>> key.protocol