summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix test_exceptions on Python 3Victor Stinner2015-04-223-14/+15
|
* Remove doctest24Victor Stinner2015-04-221-1/+1
|
* Update test_fileapp according to changeset b3f56e5b43e8Victor Stinner2015-04-211-2/+2
| | | | Now HTTP status 206 is used even if the range is the full content.
* Fix fileapp on Python 3Victor Stinner2015-04-221-21/+30
| | | | | | | * Don't compare None with int * Add __next__() method (alias to next()). * HTTP body must be bytes * Don't use string.letters but an hardcoded string to not depend on the locale.
* Fix grantip on Python 3Victor Stinner2015-04-221-8/+11
|
* Fix test_config on Python 3Victor Stinner2015-04-221-26/+48
| | | | Reset config after each test
* Port test_errordocument on Python 3Victor Stinner2015-04-221-6/+6
| | | | On Python 3, encode body to UTF-8
* Fix cgitb_catcher on Python 3Victor Stinner2015-04-221-2/+5
|
* Port gzipper to Python 3Victor Stinner2015-04-221-5/+5
|
* Fix test_cgiapp on Python 3Victor Stinner2015-04-215-20/+19
|
* Port multidict to Python 3Victor Stinner2015-04-211-42/+44
|
* Port recursive to Python 3Victor Stinner2015-04-211-2/+2
| | | | HTTP body is bytes
* Fix test_registry on Python 3Victor Stinner2015-04-211-9/+27
| | | | HTTP body must be bytes
* Fix test_request_form on Python 3Victor Stinner2015-04-211-3/+3
| | | | | * wsgi.input must be a binary file, not a text file * HTTP body must be bytes
* Fix WSGIResponse on Python 3Victor Stinner2015-04-211-9/+10
| | | | | | | | | | | HTTP body must be bytes. Don't check if __iter__() method to check if content is a list or tuple, because bytes and str now have this method on Python 3. Instead, check explicitly for bytes and str types using the six module. Port wsgiwrappers test to Python 3, fix bytes/unicode issues: * HTTP body must be bytes * Filenames are native strings, request ensures that filenames are unicode
* Fix request, session and urlmap tests on Python 3Victor Stinner2015-04-213-13/+25
| | | | HTTP body must be bytes
* Port paste.auth to Python 3Victor Stinner2015-04-212-3/+11
| | | | | | * md5() and hmac expects bytes: on Python 3, encode text to utf-8 * Don't compare None with int * HTTP body must be bytes
* Fix urlparser tests on Python 3Victor Stinner2015-04-218-19/+30
| | | | HTTP body must be bytes
* Convert files from file format DOS to UNIXVictor Stinner2015-04-212-372/+372
|
* Strip trailing spacesVictor Stinner2015-04-2115-40/+40
|
* Python 3: convert dict.keys() result to list to get the first itemCyril Roelandt2014-03-181-2/+2
|
* Python 3: load xrange from six.movesCyril Roelandt2014-03-181-1/+2
|
* Python 3: Replace "for ... in dict.items()" with "for ... in ↵Cyril Roelandt2014-03-181-2/+2
| | | | | | six.iteritems(dict)" Same change for itervalues().
* Python 3: Use six types for stringsCyril Roelandt2014-03-181-8/+9
| | | | | * Replace (str, unicode) with (six.binary_type, six.text_type) * Replace basestring with (six.binary_type, six.text_type)
* Python 3: use new style of raise, replace "raise class, args" with "raise ↵Cyril Roelandt2014-03-181-1/+1
| | | | class(args)"
* Python 3: Use absolute import instead of relative importCyril Roelandt2014-03-182-2/+2
|
* Python 3: add parenthesis to print() to support Python 2 and Python 3Cyril Roelandt2014-03-189-17/+17
| | | | Use also "from __future__ import print_function".
* Python 3: Replace "dict.has_key(key)" with "key in dict"Cyril Roelandt2014-03-181-3/+3
|
* Python 3: Replace "except Exception, exc" with "except Exception as exc:"Cyril Roelandt2014-03-182-3/+3
|
* Python 3: use new names of standard library modulesCyril Roelandt2014-03-186-11/+29
| | | | Use "try/except ImportError" to try Python 2 and Python 3 names.
* allow strings and lists to be used in cookie tokensKristian Kvilekval2012-10-1263-0/+3145