aboutsummaryrefslogtreecommitdiff
path: root/doc/source/contributor
diff options
context:
space:
mode:
authorRadosław Piliszek <radoslaw.piliszek@gmail.com>2020-04-17 17:18:46 +0200
committerRadosław Piliszek <radoslaw.piliszek@gmail.com>2020-04-17 18:07:29 +0200
commit6c480c3d890a0d7863afdddcb99bbccfb2ae0cb8 (patch)
treed11514c034c916fb63c0e6f195cb0d01cbd36db9 /doc/source/contributor
parentb6d152e92dd7a6b59f3b9f248735dacadd26797e (diff)
downloadkolla-6c480c3d890a0d7863afdddcb99bbccfb2ae0cb8.tar.gz
kolla-6c480c3d890a0d7863afdddcb99bbccfb2ae0cb8.zip
Cleanup py27 support
Removes and/or replaces all mentions of py27. Cleans up obsolete requirements and their lower-constraints. Change-Id: Id43f1bbd6a454832ab8dbf003a058403f6b34b5d
Diffstat (limited to 'doc/source/contributor')
-rw-r--r--doc/source/contributor/running-tests.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/source/contributor/running-tests.rst b/doc/source/contributor/running-tests.rst
index 5d30703be..9adfca0a5 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 2.7 tests:
+To run the Python 3.7 tests:
.. code-block:: console
- tox -e py27
+ tox -e py37
To run the style tests:
@@ -46,7 +46,7 @@ To run multiple tests separate items by commas:
.. code-block:: console
- tox -e py27,py37,pep8
+ tox -e py37,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 py27 kolla.tests
+ tox -e py37 kolla.tests
To run the tests of a specific file say ``kolla/tests/test_set_config.py``:
.. code-block:: console
- tox -e py27 test_set_config
+ tox -e py37 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 py27 test_set_config.ConfigFileTest
+ tox -e py37 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 py27 test_set_config.ConfigFileTest.test_delete_path_not_exists
+ tox -e py37 test_set_config.ConfigFileTest.test_delete_path_not_exists
Coverage Report Generation
--------------------------