Commit Graph

18 Commits

Author SHA1 Message Date
Ben Darnell c8ce4517e3 Stop overriding _execute in WebSocketHandler; use get() instead.
Revise HTTP1Connection detach protocol.

As a side effect, this now decodes the arguments to open() in the same
way as the arguments to get().
2014-03-16 23:29:50 -04:00
Ben Darnell 824226d71b Fix bit-rotted app engine tests.
sys.argv is no longer empty in dev_appserver.
2014-02-23 12:49:11 -05:00
Ben Darnell 665bd981df Remove some vestigial references to 2to3. 2014-01-19 18:55:53 -05:00
Ben Darnell c022f7c915 Update redbot tests to work with current versions of redbot. 2013-05-18 19:58:18 -04:00
Ben Darnell 0de3de6ff4 Update pyuv test for latest version of pyuv and tornado-pyuv 2013-04-04 22:30:52 -04:00
Ben Darnell 75176a01eb Add autobahn tests for client side of websockets. 2013-02-17 00:20:01 -05:00
Ben Darnell d98afd41f1 Add a tox config for testing with the pyuv-based IOLoop. 2013-02-13 23:03:25 -05:00
Ben Darnell 7faeeb1537 Remove more py25 testing configs 2013-01-13 21:59:48 -05:00
Ben Darnell 69ead0286c Return a Vary: Accept-Encoding header whenever gzip is enabled.
This is one of two problems found with redbot.  The other,
that etags should change when content-encoding is used, is trickier to
fix and seems to be less problematic.

Closes #578.
2012-12-02 12:42:53 -05:00
Ben Darnell 0b1b515fc6 Add tests using the Redbot library for HTTP validation and caching. 2012-12-02 11:13:42 -05:00
Ben Darnell 186e947112 Remove tornado.database, which is now distributed separately. 2012-09-16 14:02:49 -07:00
Ben Darnell 4e91f6720b Start using new unittest features from py27/unittest2.
Tornado's test suite now requires unittest2 on py25 and py26.
tornado.testing will use unittest2 if available but does not require
it.

This means we can no longer run the test suite under app engine 2.5,
although it still works for app engine 2.7.
2012-08-30 18:24:49 -04:00
Ben Darnell 73c1ddfe2b Move maint/appengine to maint/test/appengine 2012-08-30 14:41:24 -04:00
Ben Darnell 0148fda37b Autobahn websocket test has moved to a separate package. 2012-08-29 13:33:00 -04:00
Ben Darnell 5a18d50f44 Disable slow websocket performance tests by default.
Add pypy to the mix for when we do run the perf tests.  Depending on
the benchmark pypy is ~twice as fast as cpython 2.7
2012-01-21 17:12:22 -08:00
Ben Darnell 33cd3456d5 Add an explicit binary option to WebSocketHandler.write_message.
Switching automatically based on python's bytes vs unicode types is
error-prone in python2 where e.g. json_encode returns bytes.

Closes #429.
2012-01-07 17:34:48 -08:00
Ben Darnell 0b31d8de4c bytearray is a 2.6ism; use array.array("B") instead for 2.5 compatibility. 2011-12-30 14:47:21 -08:00
Ben Darnell 34b59827c9 Add websocket conformance tests using autobahn 2011-12-30 12:53:11 -08:00