projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8feacb7
)
Oops, forgot to reset from/to_addr in send_pgp_mime.py unittests
author
W. Trevor King
<wking@drexel.edu>
Sat, 18 Jul 2009 19:29:26 +0000
(15:29 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Sat, 18 Jul 2009 19:29:26 +0000
(15:29 -0400)
interfaces/email/interactive/send_pgp_mime.py
patch
|
blob
|
history
diff --git
a/interfaces/email/interactive/send_pgp_mime.py
b/interfaces/email/interactive/send_pgp_mime.py
index 029441379bfb9995aed1f772330de3e51d50a972..7a41550df2da1669141d1e63f78cf9ffd7ca250f 100644
(file)
--- a/
interfaces/email/interactive/send_pgp_mime.py
+++ b/
interfaces/email/interactive/send_pgp_mime.py
@@
-246,8
+246,8
@@
def target_emails(msg):
class EncryptedMessageFactory (object):
"""
See http://www.ietf.org/rfc/rfc3156.txt for specification details.
- >>> from_addr = "
wking@drexel
.edu"
- >>> to_addr = "
wking@drexel
.edu"
+ >>> from_addr = "
me@big
.edu"
+ >>> to_addr = "
you@you
.edu"
>>> header = header_from_text('\\n'.join(['From: %s'%from_addr,'To: %s'%to_addr,'Subject: testing']))
>>> source_email(header) == from_addr
True