Senthil Kumaran
b643fc6d66
Added BaseHTTPRequestHandler related tests.
2010-09-30 06:40:56 +00:00
Victor Stinner
6a10281d33
Issue #7449 , last part (11): fix many tests if thread support is disabled
...
* Use try/except ImportError or test_support.import_module() to import thread
and threading modules
* Add @unittest.skipUnless(threading, ...) to testcases using threads
2010-04-27 23:55:59 +00:00
Antoine Pitrou
1ca8c19b65
Replace a Lock with a better suited Event.
2010-04-25 21:15:50 +00:00
Florent Xicluna
0805e6eed9
#7668 : Fix test_httpservers failure when sys.executable contains non-ASCII bytes.
2010-03-22 17:18:18 +00:00
Florent Xicluna
bc27c6a5aa
Various tests cleanup: check_warnings/check_py3k_warnings, unittest.assert* and setUp/tearDown.
2010-03-19 18:34:55 +00:00
Antoine Pitrou
85bd5879b2
(Hopefully) suppress transient refleaks in test_httpservers.
2009-10-27 18:50:52 +00:00
Nick Coghlan
fd4903bf05
Move restoration of the os.environ object into the context manager where it belongs
2009-10-17 15:45:52 +00:00
Nick Coghlan
87c03b3108
Revert changes made to environment in test_httpservers
2009-10-17 15:23:08 +00:00
Benjamin Peterson
5c8da86f3a
convert usage of fail* to assert*
2009-06-30 22:57:08 +00:00
Gregory P. Smith
923ba361d8
- Issue #2254 : Fix CGIHTTPServer information disclosure. Relative paths are
...
now collapsed within the url properly before looking in cgi_directories.
2009-04-06 06:33:26 +00:00
Georg Brandl
7bb1653cc3
Argh, this is the *actual* test that works under Windows.
2008-05-20 06:47:31 +00:00
Georg Brandl
b740f6a0c7
Activate two more test cases in test_httpservers.
2008-05-20 06:15:36 +00:00
Georg Brandl
f899dfa1d1
GHOP #134 , #171 , #137 : unit tests for the three HTTPServer modules.
2008-05-18 09:12:20 +00:00