Éric Araujo <mer...@netwok.org> added the comment: 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 :) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7370> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com