diff --git a/tests/fixtures/standard_replies/iphone.eml b/tests/fixtures/standard_replies/iphone.eml index 60622f1..320f8ac 100644 --- a/tests/fixtures/standard_replies/iphone.eml +++ b/tests/fixtures/standard_replies/iphone.eml @@ -9,11 +9,11 @@ To: bob Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) -hello +Hello Sent from my iPhone On Apr 3, 2012, at 4:19 PM, bob wr= ote: -> Hi \ No newline at end of file +> Hi diff --git a/tests/fixtures/standard_replies/iphone_reply_text b/tests/fixtures/standard_replies/iphone_reply_text new file mode 100644 index 0000000..460d6d7 --- /dev/null +++ b/tests/fixtures/standard_replies/iphone_reply_text @@ -0,0 +1,3 @@ +Hello + +Sent from my iPhone diff --git a/tests/text_quotations_test.py b/tests/text_quotations_test.py index fcf5fcd..a56c48d 100644 --- a/tests/text_quotations_test.py +++ b/tests/text_quotations_test.py @@ -624,7 +624,7 @@ def test_standard_replies(): reply_text_fn = filename[:-4] + '_reply_text' if os.path.isfile(reply_text_fn): with open(reply_text_fn) as f: - reply_text = f.read() + reply_text = f.read().strip() else: reply_text = 'Hello' yield eq_, reply_text, stripped_text, \