summaryrefslogtreecommitdiff
path: root/test.py
AgeCommit message (Collapse)Author
2012-06-29fix hashlib, base64 and other bytes issuesHelmut Grohne
* hashlib.md5 wants bytes now. * string.decode("base64") is now base64.b64decode and works on bytes * binascii.unhexlify is now base64.b16decode and also works on bytes * str.isalnum accepts umlauts, use bytes.isalnum instead
2012-06-28first part of bytes conversionHelmut Grohne
Convert the request body data from str to bytes. This replaces all StringIOs with BytesIOs (removing backwards one more backwards compatibility). Also all character sequences involved in request bodies get a b"" prefix. The StaticContent application takes bytes instead of str (no difference for py2x). The GzipWSGIFilter needs a fixed as a truncate of a BytesIO does not rewind the stream position.
2012-06-28remove workarounds for missing next() and hashlibHelmut Grohne
2012-03-15added a test for GzipWSGIFilterHelmut Grohne
2012-03-15added another NoWriteCallableMiddleware testHelmut Grohne
Not failing. :-)
2012-03-15added failing test for NoWriteCallableMiddlewareHelmut Grohne
Also set the returneddata attribute of the response object instead of the request object.
2011-11-02added digest auth test with qop=authHelmut Grohne
2011-06-08more testcasesHelmut Grohne
2011-06-08added test cases for BasicAuthMiddlewareHelmut Grohne
2011-06-02test.py: exit non-zero on failureHelmut Grohne
The exit status is now the number of failures.
2011-06-01added test case for middlewares.ContentLengthMiddlewareHelmut Grohne
2011-06-01added a test case for applications.StaticFileHelmut Grohne
2011-06-01test.py: improved header checkHelmut Grohne
It previously only checked for the validity of a header and now also checks for the presence of a header.
2010-09-02employ wsgiref.validate.validator in the test suiteHelmut Grohne
2009-07-04added testsuiteHelmut Grohne