commit da9728b15b94e30f814b9420a769adbf64e63e33 Author: tushargite96 Date: Tue Sep 15 22:04:04 2020 +0530 doc: Update Py37 instead of py27 Examples in this section should use a Python 3 environment and not py27. Change-Id: If082b92e089af980e411b4b4c1319e462862a55f Closes-Bug: #1866375 diff --git a/doc/source/contributor/unit_tests.rst b/doc/source/contributor/unit_tests.rst index c86891f..387ecb0 100644 --- a/doc/source/contributor/unit_tests.rst +++ b/doc/source/contributor/unit_tests.rst @@ -27,13 +27,13 @@ options and what the test run does by default. Running a subset of tests using tox ----------------------------------- One common activity is to just run a single test, you can do this with tox -simply by specifying to just run py27 or py35 tests against a single test:: +simply by specifying to just run py3 tests against a single test:: - tox -epy27 -- -n cinderclient.tests.unit.v2.test_volumes.VolumesTest.test_attach + tox -e py3 -- -n cinderclient.tests.unit.v2.test_volumes.VolumesTest.test_attach Or all tests in the test_volumes.py file:: - tox -epy27 -- -n cinderclient.tests.unit.v2.test_volumes + tox -e py3 -- -n cinderclient.tests.unit.v2.test_volumes For more information on these options and how to run tests, please see the `stestr documentation `_.