Allow tests to be filter when using tox

`tox` will run all tests
`tox tests.api.test_auth.AuthTestCase` will run just the tests in AuthTestCase
This commit is contained in:
Daniel Wagner-Hall 2015-08-26 11:41:42 +01:00
parent a2355fae7e
commit e768d7b3a6

View File

@ -9,7 +9,7 @@ deps =
setenv = setenv =
PYTHONDONTWRITEBYTECODE = no_byte_code PYTHONDONTWRITEBYTECODE = no_byte_code
commands = commands =
coverage run --source=./synapse {envbindir}/trial tests coverage run --source=./synapse {envbindir}/trial {posargs:tests}
coverage report -m coverage report -m
install_command = install_command =
pip install --process-dependency-links --pre {opts} {packages} pip install --process-dependency-links --pre {opts} {packages}