Commit Graph

11 Commits

Author SHA1 Message Date
Pedro Algarvio
46add23cc1 Py3 compatibility fixes 2015-01-30 22:25:10 +00:00
Pedro Algarvio
60f215f191 Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00
Chris Rebert
177c168a21 Fix numerous typos found via Lintian
Thanks https://github.com/Debian/lintian/tree/master/data/spelling !
2014-08-11 10:46:43 -07:00
Pedro Algarvio
df80f4facb Under Py2.6 we need unittest2 to be able to access assertRaisesRegexp 2014-06-20 14:26:24 +01:00
Thomas S Hatch
d52ad3a99a Lint 2014-06-19 22:21:16 -06:00
Seth House
d00cd104ac And yet more pylint fixes 2014-06-19 17:25:56 -06:00
Seth House
0abda80f08 Return both the request and response objects
Since we're so rarely dealing with handlers that output strings in the
rest_cherrypy app it's useful to be able to see the full request object.
2014-03-31 09:00:40 -06:00
Seth House
249132ab24 Moved overriding headers below the content-length check
This allows tests to override the automatic content-length in order to
test bad/incorrect content-length headers.
2014-03-31 08:07:32 -06:00
Seth House
055145e797 Renamed 'data' param to 'body'; added 'qs' param
Rather than infer things about the request base on args/kwargs, make
both the body of the request as well as any querystring explicit
parameters.
2014-03-31 08:07:32 -06:00
Seth House
06d783c9da Added note about local modifications to BaseCherryPyTestCase 2014-03-31 08:07:32 -06:00
Seth House
db6444912a Added utils dir and a helper for testing CherryPy apps 2014-03-29 23:20:29 -06:00