Commit Graph

25 Commits

Author SHA1 Message Date
Ben Darnell 3747af59cb Add futures to travis and vm tests, update assorted dependency versions. 2012-09-29 17:47:41 -07:00
Ben Darnell 186e947112 Remove tornado.database, which is now distributed separately. 2012-09-16 14:02:49 -07:00
Ben Darnell 5b7ebadd1b Add unittest2 to other test configurations. 2012-09-05 17:54:21 -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 0cb3924a9e Don't let autopep8 rewrite all the lines longer than 80 chars. 2012-08-27 17:31:47 -04:00
Ben Darnell 685a4cd99c Update docutils dependency version.
0.9 doesn't appear to be in pypi any more.
2012-08-13 10:06:10 -07:00
Ben Darnell ae3d20f57f Update dependency versions 2012-06-14 21:29:21 -07:00
Ben Darnell 67d69340a2 Fix zope.interface/py25 dependencies for other tox.ini files 2012-05-27 21:35:27 -07:00
Ben Darnell 50244877b5 Ubuntu 12.04 is out, so add a vagrant config for it.
Replace the 11.04 config, but keep 10.04 to cover the two LTS releases.
2012-04-27 20:50:01 -07:00
Ben Darnell 5ae39bc6d1 Update vagrant configs for vagrant 1.0 2012-04-23 01:12:09 -07:00
Ben Darnell 2d665a41b0 Check in autopep8 script 2012-02-09 01:08:04 -08:00
Ben Darnell 58a7ff10a8 Turn on __future__ division too.
All existing uses of division were already using a float for at least
one operand (except the tests that just do 1/0 as a quick way to throw
an exception).

We have now turned on all the __future__ options available in python2.5.
2012-02-09 00:17:58 -08:00
Ben Darnell 27f9c3a775 Add a script to rewrite __future__ imports 2012-02-08 23:16:56 -08: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 1014d5683e Check in a requirements file for the tools I use while working on tornado. 2012-01-21 14:35:21 -08:00
Ben Darnell 26a06a0b16 Add a new(er) ubuntu vm setup to test missing SSLv2 2012-01-10 10:26:15 -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
Ben Darnell 877aa9d861 Install more python versions in the linux VM so we can test epoll.c too.
Also fix a bug in the test for python 2.5 on systems where ipv6 is not
configured (socket.gaierror didn't have an `errno` attribute until 2.6)
2011-12-30 00:49:19 -08:00
Ben Darnell e7a47e7b6f Improve app engine tests now that SDK 1.6.1 is compatible with virtualenv 2011-12-15 22:57:20 -08:00
Ben Darnell 7a48715570 Add very basic testing for app engine 2011-11-13 21:22:21 -08:00
Ben Darnell 970b43bddf Add configs for testing on Vagrant-managed VMs. 2011-10-07 01:08:14 -07:00