Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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. | |||||
* | 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_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 | 1 | -1/+1 | |
| | | | | | | 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 | 1 | -0/+23 | |
| | | | | | | | 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 | 1 | -2/+2 | |
| | | | | 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. | |||||
* | 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_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. | |||||
* | Added a couple of more tests for Header charset handling. | Barry Warsaw | 2002-07-23 | 1 | -0/+15 | |
| | ||||||
* | Get rid of relative imports in all unittests. Now anything that | Barry Warsaw | 2002-07-23 | 1 | -2/+2 | |
| | | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :) | |||||
* | The email package's tests live much better in a subpackage | Barry Warsaw | 2002-07-19 | 1 | -0/+2078 | |
(i.e. email.test), so move the guts of them here from Lib/test. The latter directory will retain stubs to run the email.test tests using Python's standard regression test. test_email_torture.py is a torture tester which will not run under Python's test suite because I don't want to commit megs of data to that project (it will fail cleanly there). When run under the mimelib project it'll stress test the package with megs of message samples collected from various locations in the wild. |