summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix http://trac.pythonpaste.org/pythonpaste/ticket/398 -- properly reject ↵Ian Bicking2010-09-011-0/+10
| | | | dates that have out-of-range values
* Added some more test cases to test_mimeparse that I have found here:Christoph Zwerschke2010-08-191-4/+60
| | | | | http://code.google.com/p/mimeparse/source/browse/trunk/testdata.json Also added a link to the project upstream.
* Added unittests for util.mimeparse and made the module more robust and ↵Christoph Zwerschke2010-08-191-0/+181
| | | | | | somewhat faster. This also closes tickets #290, #330, #370 and #381.
* The reporter test never created the necessary output directory.Christoph Zwerschke2010-08-191-5/+9
|
* forgot to fix up testIan Bicking2010-06-151-2/+1
|
* Fix XSS attacks as reported by Tim WintleIan Bicking2010-06-152-1/+13
|
* Paste: fix Ticket #299maluke2009-07-011-1/+1
|
* convert to nose 0.11pjenvey2009-05-0710-42/+20
|
* skip test_cgiapp on Jythonpjenvey2008-11-221-1/+2
|
* update test for new website contentianb2008-11-161-1/+1
|
* don't assume CPython GC, immediately close the file handlepjenvey2008-08-221-1/+3
|
* tests for fileapp.DirectoryAppmaluke2008-05-281-1/+24
|
* Fixed test suite on Windows (also disabled CGI tests as they shouldn't even ↵maluke2008-05-282-28/+29
| | | | work)
* Accept relative paths in StaticURLParser (#244). From Eric Larsonianb2008-03-301-6/+17
|
* Requests can send more than one cookie (#238)ianb2008-03-261-0/+10
|
* Fix #240, unicode exceptions cause collector to fail. Also make tests ↵ianb2008-03-261-3/+8
| | | | somewhat less fragile
* Fix a couple tests that had some fragilityianb2008-03-252-2/+2
|
* don't assume dict orderingpjenvey2008-03-101-1/+4
|
* 2.3 compat: use doctest24pjenvey2008-03-061-1/+1
|
* Look for params values that have an .items methodianb2008-02-171-1/+4
|
* Added test for bad cookies; passesianb2007-10-101-0/+11
|
* Simplify the way HTTPExceptionHandler catches HTTPExceptions. You can no ↵ianb2007-09-211-27/+0
| | | | longer raise httpexceptions in your app_iter
* Port WSGIResponse.content_type and .charset from WebObianb2007-08-101-0/+2
|
* Make comments workianb2007-06-131-0/+4
|
* Added {{default}} directive to paste.util.templateianb2007-06-131-0/+14
|
* Add a little helper to run doctestsianb2007-06-131-0/+9
|
* Added REST methods to Test, from Anders Pearsonianb2007-05-251-0/+6
|
* don't use the name testobj, because it causes py.test to think it's a testianb2007-05-251-13/+13
|
* Fix for request.languages, which didn't pass the right value to httpheaders. ↵ianb2007-05-251-4/+5
| | | | Filter out empty languages from httpheaders.ACCEPT_LANGUAGE.
* Make paste.util.template trim whitespace around statements on their own lineianb2007-03-061-1/+10
|
* paste.config testspjenvey2007-02-161-0/+63
|
* unused importpjenvey2007-02-161-1/+1
|
* tests for wsgiwrappers new charset stuff.pjenvey2007-02-081-0/+144
| | | | somehow I forgot to commit this
* 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
|