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
This commit is contained in:
tushargite96
2020-09-15 22:04:04 +05:30
parent d0f10e3350
commit da9728b15b

View File

@@ -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>`_.