diff options
author | Mikhail Korobov <kmike84@gmail.com> | 2012-04-10 10:58:14 +0600 |
---|---|---|
committer | Mikhail Korobov <kmike84@gmail.com> | 2012-04-10 10:58:14 +0600 |
commit | af00973f82337a24aeececa2244ea3fc532db6d2 (patch) | |
tree | 8fb43d6b3fc60f5d651e0490b5f16219d5337cb1 /tox.ini | |
parent | e80cbdc3224297ee57667e4000f1a671af05f520 (diff) | |
download | factory-boy-af00973f82337a24aeececa2244ea3fc532db6d2.tar factory-boy-af00973f82337a24aeececa2244ea3fc532db6d2.tar.gz |
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.
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -0,0 +1,11 @@ +[tox] +envlist = py26,py27,pypy + +[testenv] +commands= + python setup.py test + +[testenv:py26] + +deps= + unittest2 |