protect html_to_text as well

This commit is contained in:
Sergey Obukhov
2016-09-14 09:58:41 -07:00
parent ea82a9730e
commit 534457e713
4 changed files with 40 additions and 13 deletions

View File

@@ -385,7 +385,7 @@ def test_gmail_forwarded_msg():
eq_(RE_WHITESPACE.sub('', msg_body), RE_WHITESPACE.sub('', extracted))
@patch.object(quotations, '_MAX_TAGS_COUNT', 4)
@patch.object(u, '_MAX_TAGS_COUNT', 4)
def test_too_large_html():
msg_body = 'Reply' \
'<div class="gmail_quote">' \