[Python-checkins] r63446 - in python/trunk/Lib: BaseHTTPServer.py test/test_httpservers.py
Neal Norwitz
nnorwitz at gmail.com
Tue May 20 07:34:32 CEST 2008
On Sun, May 18, 2008 at 2:12 AM, georg.brandl
<python-checkins at python.org> wrote:
> Author: georg.brandl
> Date: Sun May 18 11:12:20 2008
> New Revision: 63446
>
> Log:
> GHOP #134, #171, #137: unit tests for the three HTTPServer modules.
>
>
> Added:
> python/trunk/Lib/test/test_httpservers.py
> Modified:
> python/trunk/Lib/BaseHTTPServer.py
>
> Added: python/trunk/Lib/test/test_httpservers.py
> ==============================================================================
> --- (empty file)
> +++ python/trunk/Lib/test/test_httpservers.py Sun May 18 11:12:20 2008
> @@ -0,0 +1,351 @@
> +"""Unittests for the various HTTPServer modules.
> +
...
> +
> +def test_main(verbose=None):
> + try:
> + cwd = os.getcwd()
> + test_support.run_unittest(BaseHTTPServerTestCase,
> + #SimpleHTTPServerTestCase,
> + #CGIHTTPServerTestCase
> + )
> + finally:
> + os.chdir(cwd)
Any reason those 2 test cases are commented out?
n
More information about the Python-checkins
mailing list