From a1f6c2d160926ae28714f383e74ff707de5a2815 Mon Sep 17 00:00:00 2001 From: Massimo Di Pierro Date: Sun, 6 May 2012 17:27:54 -0500 Subject: [PATCH] added tox.ini, thanks Marc --- VERSION | 2 +- gluon/tests/__init__.py | 11 ++++++++++- tox.ini | 11 +++++++++++ 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 tox.ini diff --git a/VERSION b/VERSION index a5ba5741..39d02e35 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 1.99.7 (2012-05-06 17:20:16) dev +Version 1.99.7 (2012-05-06 17:27:23) dev diff --git a/gluon/tests/__init__.py b/gluon/tests/__init__.py index 8b137891..63f85d7c 100644 --- a/gluon/tests/__init__.py +++ b/gluon/tests/__init__.py @@ -1 +1,10 @@ - +from test_cache import * +from test_dal import * +from test_html import * +from test_is_url import * +from test_languages import * +from test_router import * +from test_routes import * +from test_storage import * +from test_template import * +from test_utils import * diff --git a/tox.ini b/tox.ini new file mode 100644 index 00000000..48545338 --- /dev/null +++ b/tox.ini @@ -0,0 +1,11 @@ +# Tox (http://codespeak.net/~hpk/tox/) is a tool for running tests +# in multiple virtualenvs. This configuration file will run the +# test suite on all supported python versions. To use it, "pip install tox" +# and then run "tox" from this directory. + +[tox] +envlist = py25, py26, py27, pypy + +[testenv] +commands = unit2 -v gluon.tests +deps = unittest2