From 4995e32e0adadd26030c4b1e652bef93f93738df Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 6 Oct 2012 11:22:37 -0400 Subject: [PATCH] key: add a UserID.uid doctest to ensure proper XML unescaping. --- pgp_mime/key.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.26.2