diff options
author | Eli Collins <elic@assurancetechnologies.com> | 2011-10-07 23:47:25 -0400 |
---|---|---|
committer | Eli Collins <elic@assurancetechnologies.com> | 2011-10-07 23:47:25 -0400 |
commit | fd10a9ac9564d2973995bea4bc66155b2ddc6591 (patch) | |
tree | 0d91d1a06f7ec36241522b90520a253d3fa047e2 /tox.ini | |
parent | 6e09e917ca0aef4002ed2744dd094360c3caa970 (diff) | |
download | passlib-fd10a9ac9564d2973995bea4bc66155b2ddc6591.tar.gz |
added tox config file, may replace custom testing harness
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 48 |
1 files changed, 48 insertions, 0 deletions
@@ -0,0 +1,48 @@ +[tox] +envlist = py27,py32,py25,py26,py31,pypy15,pypy16,jython,gae + +[testenv] +setenv = + PASSLIB_TESTS = all +changedir = {envdir} +commands = + nosetests passlib.tests + +deps = + nose + unittest2 + +[testenv:py27] +deps = + nose + unittest2 + py-bcrypt + bcryptor + +[testenv:py31] +deps = nose + +[testenv:py32] +deps = nose + +[testenv:pypy15] +basepython = pypy1.5 + +[testenv:pypy16] +basepython = pypy1.6 + +[testenv:gae] +# NOTE: annoyingly, have to use --without-sandbox +# or else nose / nosegae / GAE / virtualenv don't play nice. +# need to figure out what's the matter, and submit a patch. +# might just have to write a python script that sets everything +# up and runs nose manually +basepython = python2.5 +deps = + nose + nosegae + unittest2 +changedir = {envdir}/lib/python2.5/site-packages +commands = + cp {toxinidir}/admin/gae-test-app.yaml app.yaml + nosetests --with-gae --without-sandbox passlib/tests |