summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <daniel@matrix.org>2015-08-26 11:41:42 +0100
committerDaniel Wagner-Hall <daniel@matrix.org>2015-08-26 11:41:42 +0100
commite768d7b3a6f925dbd7c5466fa86a4a21432d0d1d (patch)
tree9413fbb00b698edbe42bfa74d7e8fb1c720ddf59
parentMerge pull request #251 from matrix-org/removeadmin (diff)
downloadsynapse-e768d7b3a6f925dbd7c5466fa86a4a21432d0d1d.tar.xz
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
Diffstat (limited to '')
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 58cf9613cb..370a63cbb8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -9,7 +9,7 @@ deps =
 setenv =
     PYTHONDONTWRITEBYTECODE = no_byte_code
 commands =
-    coverage run --source=./synapse {envbindir}/trial tests
+    coverage run --source=./synapse {envbindir}/trial {posargs:tests}
     coverage report -m
 install_command =
     pip install --process-dependency-links --pre {opts} {packages}