summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_wsgiref.py
Commit message (Collapse)AuthorAgeFilesLines
* [2.7] bpo-37411: Rewrite test_wsgiref.testEnviron() (GH-14394) (GH-14404)Miss Islington (bot)2019-06-261-26/+56
| | | | | | | | | | | Fix test_wsgiref.testEnviron() to no longer depend on the environment variables (don't fail if "X" variable is set). testEnviron() now overrides os.environ to get a deterministic environment. Test full TestHandler.environ content: not only a few selected variables. (cherry picked from commit 5150d327924959639215ed0a78feffc0d88258da) Co-authored-by: Victor Stinner <vstinner@redhat.com>
* Remove unused imports in test_wsgiref.pySenthil Kumaran2015-09-031-2/+2
|
* Issue #22419: Limit the length of incoming HTTP request in wsgiref server to ↵Senthil Kumaran2014-09-171-0/+5
| | | | 65536 bytes.
* Issue #20555: Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref ↵Serhiy Storchaka2014-02-081-2/+2
| | | | tests.
* Issue #20138: Backport tests for handling non-ASCII URLs in theSerhiy Storchaka2014-01-121-0/+6
| | | | wsgiref.application_uri() and wsgiref.request_uri() functions.
* Fix whacky spacing in test_wsgirefAntoine Pitrou2012-10-211-58/+0
|
* Issue #16220: wsgiref now always calls close() on an iterable response.Antoine Pitrou2012-10-211-31/+19
| | | | Patch by Brent Tubbs.
* Merged revisions 87797 via svnmerge fromAntoine Pitrou2011-01-061-4/+11
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87797 | antoine.pitrou | 2011-01-06 18:17:04 +0100 (jeu., 06 janv. 2011) | 4 lines Issue #3839: wsgiref should not override a Content-Length header set by the application. Initial patch by Clovis Fabricio. ........
* Merged revisions 87564 via svnmerge fromSenthil Kumaran2010-12-291-0/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87564 | senthil.kumaran | 2010-12-29 14:25:42 +0800 (Wed, 29 Dec 2010) | 3 lines Fix Issue 10753 - Don't quote ;=, in the PATH_INFO envvar. ........
* remove the svn:executable property from files that don't have shebang linesBenjamin Peterson2010-03-051-0/+0
|
* #7092: Silence more py3k warnings. Patch by Florent Xicluna.Ezio Melotti2010-02-031-3/+3
|
* use assert[Not]IsInstance where appropriateEzio Melotti2010-01-241-3/+3
|
* Reverting the Revision: 77368. I committed Flox's big patch for tests bySenthil Kumaran2010-01-081-3/+3
| | | | mistake. ( It may come in for sure tough)
* Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. ↵Senthil Kumaran2010-01-081-3/+3
| | | | Patch by flox
* Kill a couple of "<>"Antoine Pitrou2010-01-041-2/+2
|
* Try to make test_wsgiref less fragile against environment changes by other testsAntoine Pitrou2009-11-031-1/+8
|
* convert usage of fail* to assert*Benjamin Peterson2009-06-301-18/+18
|
* socketserver renaming reversal part 3: move the module into the rightGeorg Brandl2008-05-241-1/+1
| | | | place and fix all references to it. Closes #2926.
* Updated all import statements to use the new socketserver module name.Alexandre Vassalotti2008-05-121-1/+1
| | | | | Renamed socketserver module in its own documentation. Renamed documentation references.
* Standardize on test.test_support.run_unittest() (as opposed to a mix of ↵Collin Winter2007-04-251-6/+3
| | | | run_unittest() and run_suite()). Also, add functionality to run_unittest() that admits usage of unittest.TestLoader.loadTestsFromModule().
* Sync w/external release 0.1.2. Please see PEP 360 before making changes to ↵Phillip J. Eby2006-06-121-6/+11
| | | | external packages.
* compare_generic_iter(): Fixed the failure of test_wsgiref's testFileWrapperTim Peters2006-06-111-12/+7
| | | | | | | | | | | when running with -O. test_simple_validation_error still fails under -O. That appears to be because wsgiref's validate.py uses `assert` statements all over the place to check arguments for sanity. That should all be changed (it's not a logical error in the software if a user passes bogus arguments, so this isn't a reasonable use for `assert` -- checking external preconditions should generally raise ValueError or TypeError instead, as appropriate).
* Import wsgiref into the stdlib, as of the external version 0.1-r2181.Phillip J. Eby2006-06-091-0/+615