Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [2.7] bpo-37411: Rewrite test_wsgiref.testEnviron() (GH-14394) (GH-14404) | Miss Islington (bot) | 2019-06-26 | 1 | -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.py | Senthil Kumaran | 2015-09-03 | 1 | -2/+2 |
| | |||||
* | Issue #22419: Limit the length of incoming HTTP request in wsgiref server to ↵ | Senthil Kumaran | 2014-09-17 | 1 | -0/+5 |
| | | | | 65536 bytes. | ||||
* | Issue #20555: Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref ↵ | Serhiy Storchaka | 2014-02-08 | 1 | -2/+2 |
| | | | | tests. | ||||
* | Issue #20138: Backport tests for handling non-ASCII URLs in the | Serhiy Storchaka | 2014-01-12 | 1 | -0/+6 |
| | | | | wsgiref.application_uri() and wsgiref.request_uri() functions. | ||||
* | Fix whacky spacing in test_wsgiref | Antoine Pitrou | 2012-10-21 | 1 | -58/+0 |
| | |||||
* | Issue #16220: wsgiref now always calls close() on an iterable response. | Antoine Pitrou | 2012-10-21 | 1 | -31/+19 |
| | | | | Patch by Brent Tubbs. | ||||
* | Merged revisions 87797 via svnmerge from | Antoine Pitrou | 2011-01-06 | 1 | -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 from | Senthil Kumaran | 2010-12-29 | 1 | -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 lines | Benjamin Peterson | 2010-03-05 | 1 | -0/+0 |
| | |||||
* | #7092: Silence more py3k warnings. Patch by Florent Xicluna. | Ezio Melotti | 2010-02-03 | 1 | -3/+3 |
| | |||||
* | use assert[Not]IsInstance where appropriate | Ezio Melotti | 2010-01-24 | 1 | -3/+3 |
| | |||||
* | Reverting the Revision: 77368. I committed Flox's big patch for tests by | Senthil Kumaran | 2010-01-08 | 1 | -3/+3 |
| | | | | mistake. ( It may come in for sure tough) | ||||
* | Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. ↵ | Senthil Kumaran | 2010-01-08 | 1 | -3/+3 |
| | | | | Patch by flox | ||||
* | Kill a couple of "<>" | Antoine Pitrou | 2010-01-04 | 1 | -2/+2 |
| | |||||
* | Try to make test_wsgiref less fragile against environment changes by other tests | Antoine Pitrou | 2009-11-03 | 1 | -1/+8 |
| | |||||
* | convert usage of fail* to assert* | Benjamin Peterson | 2009-06-30 | 1 | -18/+18 |
| | |||||
* | socketserver renaming reversal part 3: move the module into the right | Georg Brandl | 2008-05-24 | 1 | -1/+1 |
| | | | | place and fix all references to it. Closes #2926. | ||||
* | Updated all import statements to use the new socketserver module name. | Alexandre Vassalotti | 2008-05-12 | 1 | -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 Winter | 2007-04-25 | 1 | -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. Eby | 2006-06-12 | 1 | -6/+11 |
| | | | | external packages. | ||||
* | compare_generic_iter(): Fixed the failure of test_wsgiref's testFileWrapper | Tim Peters | 2006-06-11 | 1 | -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. Eby | 2006-06-09 | 1 | -0/+615 |