Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | test_formatdate(): Integrating Jack's 22b2 branch fix for Mac epoch: | Barry Warsaw | 2001-11-27 | 1 | -3/+4 |
| | | | | | | | | More changes to the formatdate epoch test: the Mac epoch is in localtime, so east of GMT it falls in 1903:-( Changed the test to obtain the epoch in both local time and GMT, and do the right thing in the comparisons. As a sanity measure also check that day/month is Jan 1. | ||||
* | test_formatdate(): Remove the unnecessary ldate calculation. | Barry Warsaw | 2001-11-19 | 1 | -3/+6 |
| | | | | | test_formatdate_zoneoffsets() => test_formatdate_localtime(): Do the sign corrected calculation of the zone offset. | ||||
* | test_formatdate(), test_formatdate_zoneoffsets(): Two changes. First, | Barry Warsaw | 2001-11-19 | 1 | -17/+16 |
| | | | | | | | | | | | use the correct way to test for epoch, by looking at the year component of gmtime(0). Add clause for Unix epoch and Mac epoch (Tim, what is Windows epoch?). Also, get rid of the strptime() test, it was way too problematic given that strptime() is missing on many platforms and issues with locales. Instead, simply test that formatdate() gets the numeric timezone calculation correct for the altzone and timezone. | ||||
* | test_formatdate(): A test that has a mild hope of working on Mac, | Barry Warsaw | 2001-11-18 | 1 | -1/+11 |
| | | | | | which has a different epoch than *nix. Jack may need to twiddle the details. | ||||
* | Add tests for bug #478115, parsedate_tz() IndexError when a Date: | Barry Warsaw | 2001-11-13 | 1 | -0/+3 |
| | | | | field exists with an empty value. | ||||
* | test_formatdate(): Dang. Typo. | Barry Warsaw | 2001-11-09 | 1 | -1/+1 |
| | |||||
* | test_formatdate(): Don't do the localtime test if we don't have | Barry Warsaw | 2001-11-09 | 1 | -10/+12 |
| | | | | strptime() -- I'm too lazy to code it otherwise. | ||||
* | test_formatdate(): A test for email.Utils.formatdate(). | Barry Warsaw | 2001-11-09 | 1 | -0/+16 |
| | |||||
* | A fix for SF bug #472560, extra newlines returned by get_param() when | Barry Warsaw | 2001-10-25 | 1 | -0/+4 |
| | | | | | | | | the separating semi-colon shows up on a continuation line (legal, but weird). Bug reported and fixed by Matthew Cowles. Test case and sample email included. | ||||
* | Another merge from mimelib: | Barry Warsaw | 2001-10-19 | 1 | -0/+27 |
| | | | | | TestMIMEMessage.test_epilogue(), TestIdempotent.test_preamble_epilogue(): Test cases for SF bug #472481. | ||||
* | Whitespace normalization. | Tim Peters | 2001-10-18 | 1 | -1/+1 |
| | |||||
* | Two merges from the mimelib project: | Barry Warsaw | 2001-10-17 | 1 | -0/+34 |
| | | | | | | | | | test_no_semis_header_splitter(): This actually should still split. test_no_split_long_header(): An example of an unsplittable line. test_no_semis_header_splitter(): Test for SF bug # 471918, Generator splitting long headers. | ||||
* | test_typed_subpart_iterator_default_type(): Test for when the message | Barry Warsaw | 2001-10-15 | 1 | -0/+18 |
| | | | | has no Content-Type: header, it should be treated as text/plain. | ||||
* | Add a test for the HeaderParser class. | Barry Warsaw | 2001-10-11 | 1 | -1/+17 |
| | |||||
* | Added tests for MIMEAudio class/module | Barry Warsaw | 2001-10-09 | 1 | -4/+69 |
| | |||||
* | Add a test for get_all() returning failobj. msg_20.txt is a sample | Barry Warsaw | 2001-10-09 | 1 | -0/+6 |
| | | | | message with multiple CC: fields, used in the get_all() test. | ||||
* | TestIterators: Tim Peters suggests a more succinct spelling of | Barry Warsaw | 2001-10-04 | 1 | -12/+4 |
| | | | | "listify an iterator". | ||||
* | test_header_splitter(), test_body_line_iterator(): Move the test data | Barry Warsaw | 2001-10-04 | 1 | -70/+32 |
| | | | | into tests/data/msg_*.txt files. | ||||
* | This test relied on hard tab characters, so failed after whitespace | Tim Peters | 2001-10-04 | 1 | -5/+5 |
| | | | | normalization. Now uses \t in strings instead of hard tabs. | ||||
* | Whitespace normalization. | Tim Peters | 2001-10-04 | 1 | -30/+30 |
| | |||||
* | Update the tests for the current incarnation of the email package, and | Barry Warsaw | 2001-09-26 | 1 | -105/+198 |
| | | | | added some new tests of message/delivery-status content type messages. | ||||
* | An extensive test suite for the email package. | Barry Warsaw | 2001-09-23 | 1 | -0/+797 |