From: W. Trevor King Date: Sun, 18 Nov 2012 14:12:34 +0000 (-0500) Subject: test: record sender as SENT BY (not SENT TO) in *.expected X-Git-Tag: v3.0~50 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=32e6aa23bbec2931d06a66530b26c04a81725008;p=rss2email.git test: record sender as SENT BY (not SENT TO) in *.expected --- diff --git a/test/allthingsrss/1.expected b/test/allthingsrss/1.expected index 953979d..590888c 100644 --- a/test/allthingsrss/1.expected +++ b/test/allthingsrss/1.expected @@ -1,4 +1,4 @@ -SENT TO: "rss2email: Lindsey Smith" +SENT BY: "rss2email: Lindsey Smith" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit @@ -42,7 +42,7 @@ Lq2dNKzkelsypiC4fjPLM/1/da) URL: http://feedproxy.google.com/~r/allthingsrss/hJBr/~3/aGbf5Gefkmc/ -SENT TO: "rss2email: Lindsey Smith" +SENT BY: "rss2email: Lindsey Smith" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit @@ -99,7 +99,7 @@ tp://feedads.g.doubleclick.net/~a/nYgTsIUsS9pmvRZ6092XGGHnNKg/1/da) URL: http://feedproxy.google.com/~r/allthingsrss/hJBr/~3/bT-I0iH2vw8/ -SENT TO: "rss2email: Lindsey Smith" +SENT BY: "rss2email: Lindsey Smith" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit @@ -131,7 +131,7 @@ tp://feedads.g.doubleclick.net/~a/W185EjeIKKNPfRCWp9sV0gDrfJk/1/da) URL: http://feedproxy.google.com/~r/allthingsrss/hJBr/~3/JryfOLe_q6c/ -SENT TO: "rss2email: Lindsey Smith" +SENT BY: "rss2email: Lindsey Smith" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit @@ -173,7 +173,7 @@ tp://feedads.g.doubleclick.net/~a/ygS5IVjPi9xnNjTZA1SFTAzPtuA/1/da) URL: http://feedproxy.google.com/~r/allthingsrss/hJBr/~3/ubaE55Le1OU/ -SENT TO: "rss2email: Lindsey Smith" +SENT BY: "rss2email: Lindsey Smith" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit @@ -207,7 +207,7 @@ tp://feedads.g.doubleclick.net/~a/V9Hd_J59X3SfWg3Q2XbjLNcdusA/1/da) URL: http://feedproxy.google.com/~r/allthingsrss/hJBr/~3/CiODBX5_NSk/ -SENT TO: "rss2email: Lindsey Smith" +SENT BY: "rss2email: Lindsey Smith" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit @@ -250,7 +250,7 @@ SAzQ6UihM/1/da) URL: http://feedproxy.google.com/~r/allthingsrss/hJBr/~3/VgWvylH6fvk/ -SENT TO: "rss2email: Lindsey Smith" +SENT BY: "rss2email: Lindsey Smith" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit @@ -287,7 +287,7 @@ try resolve incompatibilities if possible. URL: http://feedproxy.google.com/~r/allthingsrss/hJBr/~3/cILvxh4ziQg/ -SENT TO: "rss2email: Lindsey Smith" +SENT BY: "rss2email: Lindsey Smith" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit @@ -326,7 +326,7 @@ tp://feedads.g.doubleclick.net/~a/3-mTadqlwiwGd3BGVmqYMI2xAyg/1/da) URL: http://feedproxy.google.com/~r/allthingsrss/hJBr/~3/0rUaRcCJ8dU/ -SENT TO: "rss2email: Lindsey Smith" +SENT BY: "rss2email: Lindsey Smith" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit @@ -371,7 +371,7 @@ IMAOP4LbS0/1/da) URL: http://feedproxy.google.com/~r/allthingsrss/hJBr/~3/wsLSVDNzno0/ -SENT TO: "rss2email: Lindsey Smith" +SENT BY: "rss2email: Lindsey Smith" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit diff --git a/test/gmane/1.expected b/test/gmane/1.expected index 6a46d92..2fa9d54 100644 --- a/test/gmane/1.expected +++ b/test/gmane/1.expected @@ -1,4 +1,4 @@ -SENT TO: "gmane.mail.rss2email: W. Trevor King" +SENT BY: "gmane.mail.rss2email: W. Trevor King" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit @@ -48,7 +48,7 @@ Alrighty, this is the first email on the list and also my first URL: http://permalink.gmane.org/gmane.mail.rss2email/1 -SENT TO: "gmane.mail.rss2email: Etienne Millon" +SENT BY: "gmane.mail.rss2email: Etienne Millon" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit @@ -87,7 +87,7 @@ X-RSS-URL: http://permalink.gmane.org/gmane.mail.rss2email/2 URL: http://permalink.gmane.org/gmane.mail.rss2email/2 -SENT TO: "gmane.mail.rss2email: W. Trevor King" +SENT BY: "gmane.mail.rss2email: W. Trevor King" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit @@ -110,7 +110,7 @@ X-RSS-URL: http://permalink.gmane.org/gmane.mail.rss2email/3 URL: http://permalink.gmane.org/gmane.mail.rss2email/3 -SENT TO: "gmane.mail.rss2email: Etienne Millon" +SENT BY: "gmane.mail.rss2email: Etienne Millon" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit @@ -136,7 +136,7 @@ X-RSS-URL: http://permalink.gmane.org/gmane.mail.rss2email/4 URL: http://permalink.gmane.org/gmane.mail.rss2email/4 -SENT TO: "gmane.mail.rss2email: W. Trevor King" +SENT BY: "gmane.mail.rss2email: W. Trevor King" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit diff --git a/test/test.py b/test/test.py index 085a842..79e1f8c 100755 --- a/test/test.py +++ b/test/test.py @@ -31,7 +31,7 @@ class Send (list): def as_string(self): chunks = [ - 'SENT TO: {}\n{}\n'.format(sender, message.as_string()) + 'SENT BY: {}\n{}\n'.format(sender, message.as_string()) for sender,message in self] return '\n'.join(chunks)