diff options
| author | zhoulinhui <df.some@foxmail.com> | 2020-09-18 00:54:51 +0800 |
|---|---|---|
| committer | zhoulinhui <df.some@foxmail.com> | 2020-09-18 00:54:51 +0800 |
| commit | c7922137e810597f19f85b16ea29b9981d6e5b06 (patch) | |
| tree | 3fd35e9c06ab8191eb28663d21bc56a18adcca8a | |
| parent | 0abf8bdac90646f8342f358514461978786d1fb9 (diff) | |
| download | kolla-c7922137e810597f19f85b16ea29b9981d6e5b06.tar.gz kolla-c7922137e810597f19f85b16ea29b9981d6e5b06.zip | |
Update py37 to py38 for running-tests.rst
It should been done in https://review.opendev.org/#/c/752436/ but missing
Change-Id: Ib7f57e6e5897e25b8c33c6bdcb999cb7f64f10a6
| -rw-r--r-- | doc/source/contributor/running-tests.rst | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/source/contributor/running-tests.rst b/doc/source/contributor/running-tests.rst index 9adfca0a5..a793001b6 100644 --- a/doc/source/contributor/running-tests.rst +++ b/doc/source/contributor/running-tests.rst @@ -30,11 +30,11 @@ See the `unit testing <https://wiki.openstack.org/wiki/Testing#Unit_Tests>`__ section of the Testing wiki page for more information. Following are some simple examples. -To run the Python 3.7 tests: +To run the Python 3.8 tests: .. code-block:: console - tox -e py37 + tox -e py38 To run the style tests: @@ -46,7 +46,7 @@ To run multiple tests separate items by commas: .. code-block:: console - tox -e py37,pep8 + tox -e py38,pep8 Running a subset of tests ------------------------- @@ -59,27 +59,27 @@ To run the tests located only in the ``kolla/tests`` directory: .. code-block:: console - tox -e py37 kolla.tests + tox -e py38 kolla.tests To run the tests of a specific file say ``kolla/tests/test_set_config.py``: .. code-block:: console - tox -e py37 test_set_config + tox -e py38 test_set_config To run the tests in the ``ConfigFileTest`` class in the ``kolla/tests/test_set_config.py`` file: .. code-block:: console - tox -e py37 test_set_config.ConfigFileTest + tox -e py38 test_set_config.ConfigFileTest To run the ``ConfigFileTest.test_delete_path_not_exists`` test method in the ``kolla/tests/test_set_config.py`` file: .. code-block:: console - tox -e py37 test_set_config.ConfigFileTest.test_delete_path_not_exists + tox -e py38 test_set_config.ConfigFileTest.test_delete_path_not_exists Coverage Report Generation -------------------------- |
