[Python-checkins] r63446 - in python/trunk/Lib: BaseHTTPServer.py test/test_httpservers.py

Georg Brandl g.brandl at gmx.net
Tue May 20 08:19:10 CEST 2008


Neal Norwitz schrieb:
> 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?

At some time I wanted to test them under Windows before committing.
I've now done this, and uncommented them.

Thanks for reminding,
Georg



More information about the Python-checkins mailing list