Fix pytests and enable parallel registry tests

This commit is contained in:
Joseph Schorr 2016-12-15 12:04:57 -05:00
parent 135f4dae0c
commit 481cebe46b
7 changed files with 29 additions and 13 deletions

View file

@ -1,5 +1,5 @@
[tox]
envlist = {py27}-{unittest,api}
envlist = {py27}-{unittest,registry}
skipsdist = True
[testenv]
@ -11,7 +11,7 @@ deps =
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}
TEST=true
api: FILE="registry_tests.py"
registry: FILE="registry_tests.py"
unittest: FILE=""
commands =
py.test --verbose test/{env:FILE} -vv {posargs}