From 5d82bfd973fe682213e5c9bd716e581eda0dbc22 Mon Sep 17 00:00:00 2001 From: JUN JIE NAN Date: Thu, 16 Jan 2014 16:04:50 +0800 Subject: [PATCH] Added testr-args option support for tox coverage So we can check coverage for some test cases like: tox -e cover -- heat.tests.test_sqlalchemy_api Change-Id: Icd721fbced34b4f6b9e550d927d8fcc4c6439ff8 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 32319b2735..35e22da9ae 100644 --- a/tox.ini +++ b/tox.ini @@ -23,7 +23,7 @@ commands = {posargs} [testenv:cover] setenv = VIRTUAL_ENV={envdir} commands = - python setup.py testr --coverage + python setup.py testr --coverage --testr-args='{posargs}' [testenv:docs] deps = -r{toxinidir}/requirements.txt