Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | test_long_lines_with_different_header(): Another test from Jason. | Barry Warsaw | 2003-03-17 | 1 | -0/+16 |
| | |||||
* | test_getaddresses_nasty(): A test for mimelib SF bug # 697641. | Barry Warsaw | 2003-03-17 | 1 | -0/+10 |
| | |||||
* | test_whitespace_eater_unicode(): Make this test Python 2.1 compatible. | Barry Warsaw | 2003-03-12 | 1 | -1/+4 |
| | |||||
* | Adjust tests for no newline appending to MIMEText.__init__()'s _text | Barry Warsaw | 2003-03-11 | 1 | -2/+0 |
| | | | | argument. | ||||
* | Adjust tests for no newline appending to MIMEText.__init__()'s _text | Barry Warsaw | 2003-03-11 | 1 | -11/+7 |
| | | | | argument. | ||||
* | test_get_decoded_uu_payload(): A new test for | Barry Warsaw | 2003-03-11 | 1 | -0/+11 |
| | | | | Content-Transfer-Encoding: x-uuencode | ||||
* | test_escape_backslashes(): A test for SF bug #663369 by Matthew Woodcraft. | Barry Warsaw | 2003-03-10 | 1 | -0/+8 |
| | |||||
* | Fix base class | Barry Warsaw | 2003-03-10 | 1 | -1/+1 |
| | |||||
* | Use ndiffAssertEqual in a couple of places for better error reporting. | Barry Warsaw | 2003-03-10 | 1 | -3/+6 |
| | |||||
* | test_broken_base64_payload(): Test for crash in low-level binascii | Barry Warsaw | 2003-03-10 | 1 | -0/+8 |
| | | | | module when decoding a message with broken base64. | ||||
* | test_another_long_multiline_header(): Yet another formatting test. | Barry Warsaw | 2003-03-10 | 1 | -0/+12 |
| | |||||
* | test_long_unbreakable_lines_with_continuation(): Another funky example | Barry Warsaw | 2003-03-07 | 1 | -0/+16 |
| | | | | from Jason Mastaler :) | ||||
* | test_rfc2231_no_language_or_charset(): RFC 2231 allows leaving out | Barry Warsaw | 2003-03-07 | 1 | -0/+11 |
| | | | | both the charset and language without including any single quotes. | ||||
* | whitespace normalization | Barry Warsaw | 2003-03-07 | 1 | -6/+6 |
| | |||||
* | test_string_headerinst_eq(): Another Jason test :) | Barry Warsaw | 2003-03-07 | 1 | -0/+14 |
| | |||||
* | test_long_received_header(): Another test case for folding long | Barry Warsaw | 2003-03-06 | 1 | -0/+15 |
| | | | | | Received headers (first on semis then on whitespace), given by Jason Mastaler. | ||||
* | test_whitespace_eater_unicode(): Test of the last outstanding bug in | Barry Warsaw | 2003-03-06 | 1 | -0/+8 |
| | | | | SF # 640110. | ||||
* | test_rfc2047_multiline(): Test case for SF bug #640110. | Barry Warsaw | 2003-03-06 | 1 | -0/+14 |
| | |||||
* | Merge of the folding-reimpl-branch. Specific changes, | Barry Warsaw | 2003-03-06 | 2 | -76/+165 |
| | | | | Update tests for email 2.5. | ||||
* | Jack complained that on test_crlf_separation() was failing on MacOS9 | Barry Warsaw | 2003-01-02 | 1 | -4/+4 |
| | | | | | | | | | | | | because the test file, msg_26.txt which has \r\n line endings, was getting munged by cvs, which knows to do line ending conversions for text files. But we want \r\n to be preserved on all platforms, so we cvs admin'd the file to be -kb (binary), which means we have to open the file in binary mode to preserve these line ends. Hopefully this will be the end of the thrashing on this issue (but probably not). Test passes on *nix now, and Tim confirms it passes on Windows. We'll leave it to Jack to test MacOS. | ||||
* | test_bad_8bit_header(): Tests for optional argument `errors'. See SF | Barry Warsaw | 2002-12-30 | 1 | -0/+11 |
| | | | | bug #648119. | ||||
* | TestMIMEAudio.setUp(): Use the email package's copy of the audio test | Barry Warsaw | 2002-12-30 | 1 | -2/+7 |
| | | | | | | file, needed because some binary distros (read RPMs) don't include the test module in their standard Python package. This eliminates an external dependency and closes SF bug # 650441. | ||||
* | A copy of the audio test file from Lib/test, needed because some | Barry Warsaw | 2002-12-30 | 1 | -0/+0 |
| | | | | | | binary distros (read RPMs) don't include the test module in their standard Python package. This eliminates an external dependency and closes SF bug # 650441. | ||||
* | test_parsedate_compact(): A test for optional FWS between the comma | Barry Warsaw | 2002-12-30 | 1 | -0/+5 |
| | | | | | and the day number in an RFC 2822 date specification. See bug #552345. | ||||
* | test_name_with_dots(): A new test to ensure that we're implementing | Barry Warsaw | 2002-12-30 | 1 | -0/+9 |
| | | | | RFC 2822's rules w.r.t. dots in the realname part of address fields. | ||||
* | test_no_separating_blank_line(): A test for SF bug #633527, no | Barry Warsaw | 2002-11-05 | 1 | -16/+36 |
| | | | | | | separating blank line between a header block and body text. Tests both lax and strict parsing. | ||||
* | A message with no separating blank line between the headers and the | Barry Warsaw | 2002-11-05 | 1 | -0/+4 |
| | | | | body. A test message for SF bug #633527. | ||||
* | test_text_plain_in_a_multipart_digest(): A test of the fix for SF bug | Barry Warsaw | 2002-11-05 | 1 | -0/+4 |
| | | | | | #631350, where a subobject in a multipart/digest isn't a message/rfc822. | ||||
* | Test case, distilled from SF bug #631350, where a subobject in a | Barry Warsaw | 2002-11-05 | 1 | -0/+19 |
| | | | | | multipart/digest isn't a message/rfc822. This is legal, but counter to recommended practice in RFC 2046, $5.1.5. | ||||
* | test_body_encoding(): a new test for Charset.body_encode(), especially | Barry Warsaw | 2002-10-21 | 1 | -0/+14 |
| | | | | one that tests the obscure bug reported in SF # 625509. | ||||
* | test_body_encoding(): a new test | Barry Warsaw | 2002-10-21 | 1 | -0/+23 |
| | |||||
* | Two new tests for splitting (or not splitting) 8-bit header data. | Barry Warsaw | 2002-10-14 | 1 | -0/+21 |
| | |||||
* | New tests to verify that charsets are case insensitive, and that by | Barry Warsaw | 2002-10-10 | 1 | -0/+34 |
| | | | | default get_body_encoding() cannot be SHORTEST. | ||||
* | openfile(): Go back to opening the files in text mode. This undoes | Barry Warsaw | 2002-10-07 | 2 | -2/+2 |
| | | | | | | the change in revision 1.11 (test_email.py) in response to SF bug #609988. We now think that was the wrong fix and that WinZip was the real culprit there. | ||||
* | test__all__(): Fix the import list. | Barry Warsaw | 2002-10-01 | 1 | -4/+4 |
| | |||||
* | The ansi_x3.4_1968 encoding is an alias for ascii, but isn't known in | Barry Warsaw | 2002-09-30 | 1 | -12/+0 |
| | | | | | | | | Python 2.1.3. However it's required by the email tests suite, so poke it into the encodings aliases if it's missing. The is apparently the approved API for doing so. Now we can remove the hexversion shortcircuits in the test suite. | ||||
* | Make the tests pass under Python 2.1 but only by cheating. Python 2.1 | Barry Warsaw | 2002-09-28 | 1 | -0/+12 |
| | | | | | doesn't know about the ansi-x3.4-1968 charset so skip two tests that rely on that (msg_32.txt and msg_33.txt). | ||||
* | Add a test for SHORTEST encoding of utf-8 headers, and also update | Barry Warsaw | 2002-09-28 | 1 | -9/+16 |
| | | | | some of the test values which change because of this. | ||||
* | test_unicode_error(): Comment this test out, since we still have | Barry Warsaw | 2002-09-26 | 1 | -8/+8 |
| | | | | controversy. | ||||
* | Fixing some RFC 2231 related issues as reported in the Spambayes | Barry Warsaw | 2002-09-26 | 3 | -0/+66 |
| | | | | | | | project, and with assistance from Oleg Broytmann. Specifically, added some new tests to make sure we handle RFC 2231 encoded parameters correctly. Two new data files were added which contain RFC 2231 encoded parameters. | ||||
* | Open the test files in binary mode so the \r\n files won't cause | Barry Warsaw | 2002-09-18 | 2 | -3/+3 |
| | | | | failures on Windows. Closes SF bug # 609988. | ||||
* | test_utils_quote_unquote(): Test for unquote() properly | Barry Warsaw | 2002-09-11 | 1 | -0/+7 |
| | | | | de-backslash-ifying. | ||||
* | test_splitting_first_line_only_is_long(): New test for SF bug #601392, | Barry Warsaw | 2002-09-10 | 1 | -1/+38 |
| | | | | broken wrapping of long ASCII headers. | ||||
* | A sample message with broken MIME boundaries. | Barry Warsaw | 2002-09-10 | 1 | -0/+15 |
| | |||||
* | test_set_param(), test_del_param(): Test RFC 2231 encoding support by | Barry Warsaw | 2002-09-06 | 1 | -1/+68 |
| | | | | Oleg Broytmann in SF patch #600096. Whitespace normalized by Barry. | ||||
* | test_mondo_message(): "binary" is not a legal content type, so with | Barry Warsaw | 2002-09-06 | 1 | -2/+3 |
| | | | | | the previous RFC 2045, $5.2 repair to get_content_type() this subpart's type will now be text/plain. | ||||
* | test_replace_header(): New test for Message.replace_header(). | Barry Warsaw | 2002-09-06 | 1 | -0/+17 |
| | |||||
* | Whitespace normalization. | Barry Warsaw | 2002-08-27 | 1 | -1/+1 |
| | |||||
* | Added tests for SF patch #597593, syntactically invalid Content-Type: headers. | Barry Warsaw | 2002-08-20 | 1 | -2/+23 |
| | |||||
* | test_three_lines(): Test case reported by Andrew McNamara. Works in | Barry Warsaw | 2002-08-20 | 1 | -0/+8 |
| | | | | email 2.2 but fails in email 1.0. |