process first 1000 lines for long messages, support for German and Dutch

This commit is contained in:
Sergey Obukhov
2015-09-11 06:17:14 -07:00
parent 127771dac9
commit 385285e5de
2 changed files with 18 additions and 11 deletions

View File

@@ -12,11 +12,11 @@ from talon import quotations
@patch.object(quotations, 'MAX_LINES_COUNT', 1)
def test_too_many_lines():
msg_body = """Test reply
Hi
-----Original Message-----
Test"""
eq_(msg_body, quotations.extract_from_plain(msg_body))
eq_("Test reply", quotations.extract_from_plain(msg_body))
def test_pattern_on_date_somebody_wrote():