This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.araujo
Recipients ajaksu2, eric.araujo, l0nwlf, r.david.murray, schmiddy
Date 2010-06-13.17:45:04
SpamBayes Score 0.019413935
Marked as misclassified No
Message-id <4C15191F.9060808@netwok.org>
In-reply-to <1276449449.36.0.327585175555.issue7370@psf.upfronthosting.co.za>
Content
The skeleton is good but you have to change one thing. Your test should
exercise a function or method of BaseHTTPServer, not the underlying
implementation detail. I failed to explain that earlier:

1a) Write a test that checks that the current code produces right values
for a handful of cases (perhaps the RFC has them, else pick at random);
1b) Check that the test pass with the current code;
2a) Change BaseHTTPServer to use emails.utils.formatdate;
2b) Check that the test still pass.

End of HOWTO write a regression test :)
History
Date User Action Args
2010-06-13 17:45:07eric.araujosetrecipients: + eric.araujo, ajaksu2, r.david.murray, schmiddy, l0nwlf
2010-06-13 17:45:05eric.araujolinkissue7370 messages
2010-06-13 17:45:04eric.araujocreate