From af00973f82337a24aeececa2244ea3fc532db6d2 Mon Sep 17 00:00:00 2001 From: Mikhail Korobov Date: Tue, 10 Apr 2012 10:58:14 +0600 Subject: Test running improvements: tests can be run under python 2.6 (by using optional unittest2), tox config for testing under different pythons, explicit python version requirements (factory_boy works with python 2.6 and 2.7); ./setup.py test returns proper error code in case of test failure. --- tox.ini | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tox.ini (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..944070f --- /dev/null +++ b/tox.ini @@ -0,0 +1,11 @@ +[tox] +envlist = py26,py27,pypy + +[testenv] +commands= + python setup.py test + +[testenv:py26] + +deps= + unittest2 -- cgit v1.2.3