From c42f15f94da387bcc0c62ee1600d4cb7df10f803 Mon Sep 17 00:00:00 2001 From: Samuel Merritt Date: Tue, 10 Apr 2018 17:00:54 -0700 Subject: [PATCH] Add ability to run specific tests in py35 tox environment. This lets you run something like $ tox -e py35 -- -s test.unit.common.test_swob and just run the swob tests. This is handy if you've got one or two test failures to debug or if you're trying to get another test file passing under Python 3. Also removed the old py34 environment. Nothing uses it. Change-Id: I244b8903ef0a445abd028004bf02d6c581a8afe2 --- tox.ini | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/tox.ini b/tox.ini index 2cbaa6bb82..6fc8815f30 100644 --- a/tox.ini +++ b/tox.ini @@ -26,9 +26,9 @@ setenv = VIRTUAL_ENV={envdir} NOSE_COVER_HTML=1 NOSE_COVER_HTML_DIR={toxinidir}/cover -[testenv:py34] +[testenv:py35] commands = - nosetests \ + nosetests {posargs:\ test/unit/cli/test_dispersion_report.py \ test/unit/cli/test_form_signature.py \ test/unit/cli/test_info.py \ @@ -45,10 +45,7 @@ commands = test/unit/common/test_splice.py \ test/unit/common/test_storage_policy.py \ test/unit/common/test_utils.py \ - test/unit/common/test_wsgi.py - -[testenv:py35] -commands = {[testenv:py34]commands} + test/unit/common/test_wsgi.py} [testenv:pep8] basepython = python2.7