From 5f4790a82af09fbf3d1db85ebcfc89d40a284115 Mon Sep 17 00:00:00 2001 From: Samuel Merritt Date: Wed, 18 Dec 2013 12:11:47 -0800 Subject: [PATCH] Allow running just one test with tox Now, "tox -e py26 -- test.unit.proxy.test_server" runs just that one test file. "tox -e py26" still runs all the tests with py26, just like before. Change-Id: I40db12dd5e7cc8f9388e29b30447f70d3bfc4b28 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 1ba93ca8f0..6650dad07e 100644 --- a/tox.ini +++ b/tox.ini @@ -18,7 +18,7 @@ setenv = VIRTUAL_ENV={envdir} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt -commands = nosetests test/unit {posargs} +commands = nosetests {posargs:test/unit} [testenv:cover] setenv = VIRTUAL_ENV={envdir}