summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix for FileApp replying to non-GET requests, and giving the body for HEAD ↵1.2ianb2007-02-011-0/+12
| | | | requests
* don't test profile middleware if hotshot isn't availableianb2007-02-011-20/+25
|
* Add most doctests to the automatic testing; fix some problems in testsianb2007-02-012-0/+37
|
* Switching mime-type parsing to be a WSGIRequest function instead of attribute.bbangert2007-01-311-5/+4
|
* Added WSGIRequest.mimetypes property and unit tests for it.bbangert2007-01-311-2/+14
|
* More thorough unit testing of the languages header.bbangert2007-01-311-0/+6
|
* Added an HTML-specific subclassianb2007-01-311-0/+21
|
* Added a templating languageianb2007-01-313-1/+104
|
* ensure UnicodeMultiDict allows non basestring keys to pass throughpjenvey2007-01-311-0/+11
|
* s/assert_unicode_items/assert_unicode_item/gpjenvey2007-01-311-9/+9
|
* comment out the wsgi.input comparison tests until #125 is solvedpjenvey2007-01-311-3/+4
|
* Added WSGIRequest.languages parameter which handles parsing of ↵bbangert2007-01-311-1/+8
| | | | Accept-Languages header and a unit test to verify the defaults.
* by default don't have WSGIRequest decode parameter keys when unicode params ↵pjenvey2007-01-221-8/+22
| | | | | | are expected. allow this behavior when WSGIRequest.decode_param_names is enabled
* everything passing except the rereading of wsgi.inputpjenvey2007-01-211-16/+2
|
* o added UnicodeMultiDict, a MultiDict wrapper that decodes its retrievedpjenvey2007-01-211-1/+111
| | | | | | | | | | | | | contents to unicode on the fly. Any FieldStorages encountered are cloned with their name and filename fields decoded o Added WSGIRequest.charset and errors. When charset is set, WSGIRequest's params/GET/POST return UnicodeMultiDicts. charset and errors inherit their default values from the WSGIRequest.defaults StackedObjectProxy dict o deprecated wsgiwrappers.settings: use wsgiwrappers.WSGIResponse.defaults instead o allow WSGIResponse to let unicode responses pass through when no encoding is set (instead of defaulting to iso-8859-1). In case someone wants to deal with unicode later in their WSGI stack
* some test fixes. still not passingpjenvey2007-01-191-16/+16
|
* non-passing test for new request parsing systemianb2007-01-191-0/+49
|
* convert old-style classes to new-style classespjenvey2007-01-051-1/+1
|
* ensure extra restoration_end calls nooppjenvey2006-12-271-0/+2
|
* Use 404 instead of 400 when there's extra path on a static file, like with ↵ianb2006-12-221-3/+4
| | | | /index.html/foo'
* fixed parse_dict_querystring returning empty dicts instead of MultiDictspjenvey2006-12-221-1/+1
|
* renamed restorer evalcontext_begin/end in_evalcontext to ↵pjenvey2006-12-221-5/+5
| | | | restoration_begin/end in_restoration
* Made Registries work in EvalException (prepare, register, replace, cleanup)pjenvey2006-12-071-12/+64
| | | | | | | | o Registries get their state restored from the restorer when EvalException begins executing, and their state changes are maintained by the restorer o StackedObjectProxy's _push/pop_object will no-op in that context o made get_saved_proxied_obj handle proxies having their objects de-registered within EvalException
* whitespacepjenvey2006-12-041-3/+3
|
* StackedObjectRestorer tests. fixed a couple edge cases:pjenvey2006-12-011-2/+82
| | | | | | | | | o get_saved_proxied_obj needed to delve down to allow access to older (overlaid) RegistryManagers' objects (test_restorer_nested_middleman) o save_registry_state needed to save all state, so restoration can get to every overlaid RegistryManagers' objects (test_restorer_middlemen_nested_evalexception). cleaned it up to do all the saving at once, instead of piecemeal
* Expanded profile test a bitianb2006-12-011-2/+6
|
* Fixed errordocument header testianb2006-12-011-2/+2
|
* Fixed recursive test to use new KeepStatus init signature.bbangert2006-12-011-1/+1
|
* Added paste.response.replace_header testianb2006-12-011-0/+11
|
* Test for errordocument header-preserving problem (currently broken)ianb2006-12-011-1/+23
|
* Fix for Content-Length in gzip response from Brad Clements. Also gzip testianb2006-11-121-0/+18
|
* Fixed problem where the errorcatching middleware doesn't expose the close ↵ianb2006-10-031-2/+2
| | | | method of the app_iter that it is wrapping
* Added some tests for multidict; fixed setdefaultianb2006-09-261-0/+24
|
* Removed PasteDeploy/Script requirement from testsianb2006-09-211-2/+0
|
* Fixing a bug when unicode is used in exceptions, thecce2006-09-111-0/+15
| | | | | *_headers functions can be called directly w/o the module name prefix.
* Fix case when using TestApp, and params={'key': ['list', 'of', 'values']}, ↵ianb2006-09-101-0/+9
| | | | as reported by Syver Enstad
* Fixed a bug in the registry test (not code), since str(registered_object) ↵ianb2006-08-233-4/+5
| | | | never fails anymore. Fixed some formatting because of new-style exceptions in Python 2.5
* Fixed problem with exception formatter word wrapping routineianb2006-08-211-0/+10
|
* renamed the multidict class to MultiDictpjenvey2006-07-251-1/+1
|
* Fixed a bug in paste.errordocuments.forward and updated unit teststhejimmyg2006-07-202-18/+151
|
* Removed errordocument.empty_error, since it never actually worked in a ↵0.9.5ianb2006-07-201-13/+1
| | | | useful way; changed the news to 0.9.5 (since that's what the next release will be)
* Changed usage of MultiDict to util.multidictianb2006-07-191-3/+3
|
* Added tests for file-related conditional requests. Added support for ↵ianb2006-07-171-0/+21
| | | | If-None-Match to DataApp. Added parsing support for multi-value headers.
* Added a middleware to clear out error bodies, making them more accessible to ↵ianb2006-07-141-2/+13
| | | | Apache; added an app_iter wrapper for chaining app_iters from multiple sources (needed for peeking at status)
* o revised the r5420 patch to be specific to the _IfModifiedSince headerpjenvey2006-06-261-2/+5
| | | | o added a test to reproduce ticket #114
* Tests actually look just fine, but just two similar cases. And remove a ↵ianb2006-06-221-0/+2
| | | | dead directory
* Made it possible to create the session after start_response is called but ↵ianb2006-06-211-0/+52
| | | | before the first content is sent to the server
* whitespacepjenvey2006-06-191-2/+1
|
* updated test commentpjenvey2006-06-191-3/+4
|
* Preventing circumvention of StaticURLParser and PkgResourcesParser's root ↵pjenvey2006-06-192-0/+42
| | | | | | directories. Ensuring fix with tests