diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2014-09-11 15:34:19 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2014-09-12 09:26:01 -0500 |
commit | b6df960806ccb091fc334bcab269be69eec339d8 (patch) | |
tree | 4bdb87f8d28b22a0658633995991e202fbc83938 | |
parent | 39a9035487621ab079138149a0dd090ac9ab5768 (diff) | |
download | mediagoblin-b6df960806ccb091fc334bcab269be69eec339d8.tar.lz mediagoblin-b6df960806ccb091fc334bcab269be69eec339d8.tar.xz mediagoblin-b6df960806ccb091fc334bcab269be69eec339d8.zip |
Set up tox.ini to run more properly:
- Don't run dbupdate... the tests themselves do this, and we might
mess up someone's db
- We shouldn't run setup.py develop because that installs a new
*live* db... the tests do isolation, so...
- Install the package's dependencies by the package itself... it
seems that removing "skipsdist = True" fixes this
- Run py.test manually rather than use runtests.sh (which itself uses
./bin/py.test if it can)
-rw-r--r-- | tox.ini | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -1,14 +1,11 @@ [tox] envlist = py27, py33 -skipsdist = True usedevelop = True +sitepackages = False [testenv] whitelist_externals = sh -commands = - python setup.py develop - gmg dbupdate - sh runtests.sh +commands = py.test ./mediagoblin/tests --boxed deps = git+https://github.com/ianare/exif-py.git@develop lxml |