summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortushargite96 <tushargite96@gmail.com>2020-09-15 22:04:04 +0530
committertushargite96 <tushargite96@gmail.com>2020-09-17 10:43:01 +0530
commitda9728b15b94e30f814b9420a769adbf64e63e33 (patch)
treed9b8d2f84d05b8cae57fbcbf7f1859ccec31b25c
parentd0f10e3350a15916607ed0ff66be8ec033050d2b (diff)
downloadpython-cinderclient-da9728b15b94e30f814b9420a769adbf64e63e33.tar.gz
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
-rw-r--r--doc/source/contributor/unit_tests.rst6
1 files changed, 3 insertions, 3 deletions
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 <https://stestr.readthedocs.io/en/latest/index.html>`_.