Fix iphone test
This commit is contained in:
2
tests/fixtures/standard_replies/iphone.eml
vendored
2
tests/fixtures/standard_replies/iphone.eml
vendored
@@ -9,7 +9,7 @@ To: bob <bob@example.com>
|
|||||||
Content-Transfer-Encoding: quoted-printable
|
Content-Transfer-Encoding: quoted-printable
|
||||||
Mime-Version: 1.0 (1.0)
|
Mime-Version: 1.0 (1.0)
|
||||||
|
|
||||||
hello
|
Hello
|
||||||
|
|
||||||
Sent from my iPhone
|
Sent from my iPhone
|
||||||
|
|
||||||
|
|||||||
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'
|
reply_text_fn = filename[:-4] + '_reply_text'
|
||||||
if os.path.isfile(reply_text_fn):
|
if os.path.isfile(reply_text_fn):
|
||||||
with open(reply_text_fn) as f:
|
with open(reply_text_fn) as f:
|
||||||
reply_text = f.read()
|
reply_text = f.read().strip()
|
||||||
else:
|
else:
|
||||||
reply_text = 'Hello'
|
reply_text = 'Hello'
|
||||||
yield eq_, reply_text, stripped_text, \
|
yield eq_, reply_text, stripped_text, \
|
||||||
|
|||||||
Reference in New Issue
Block a user