Removed py27 in testing doc

Change-Id: Ib7e45aec73c4d3b11eaf5288d739edad3b12c4ee
This commit is contained in:
licanwei
2020-03-23 10:22:31 +08:00
parent c17e96d38b
commit 60a3f1f072

View File

@@ -15,7 +15,7 @@ Unit tests
All unit tests should be run using `tox`_. Before running the unit tests, you All unit tests should be run using `tox`_. Before running the unit tests, you
should download the latest `watcher`_ from the github. To run the same unit should download the latest `watcher`_ from the github. To run the same unit
tests that are executing onto `Gerrit`_ which includes ``py35``, ``py27`` and tests that are executing onto `Gerrit`_ which includes ``py36``, ``py37`` and
``pep8``, you can issue the following command:: ``pep8``, you can issue the following command::
$ git clone https://opendev.org/openstack/watcher $ git clone https://opendev.org/openstack/watcher
@@ -26,8 +26,8 @@ tests that are executing onto `Gerrit`_ which includes ``py35``, ``py27`` and
If you only want to run one of the aforementioned, you can then issue one of If you only want to run one of the aforementioned, you can then issue one of
the following:: the following::
$ tox -e py35 $ tox -e py36
$ tox -e py27 $ tox -e py37
$ tox -e pep8 $ tox -e pep8
.. _tox: https://tox.readthedocs.org/ .. _tox: https://tox.readthedocs.org/
@@ -38,7 +38,7 @@ If you only want to run specific unit test code and don't like to waste time
waiting for all unit tests to execute, you can add parameters ``--`` followed waiting for all unit tests to execute, you can add parameters ``--`` followed
by a regex string:: by a regex string::
$ tox -e py27 -- watcher.tests.api $ tox -e py37 -- watcher.tests.api
.. _tempest_tests: .. _tempest_tests: