Fix iphone test
This commit is contained in:
4
tests/fixtures/standard_replies/iphone.eml
vendored
4
tests/fixtures/standard_replies/iphone.eml
vendored
@@ -9,11 +9,11 @@ To: bob <bob@example.com>
|
||||
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 <bob@example.com> wr=
|
||||
ote:
|
||||
|
||||
> Hi
|
||||
> Hi
|
||||
|
||||
3
tests/fixtures/standard_replies/iphone_reply_text
vendored
Normal file
3
tests/fixtures/standard_replies/iphone_reply_text
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
Hello
|
||||
|
||||
Sent from my iPhone
|
||||
@@ -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, \
|
||||
|
||||
Reference in New Issue
Block a user