aboutsummaryrefslogtreecommitdiff
path: root/doc/source/contributor
diff options
context:
space:
mode:
authorchenxing <chason.chan@foxmail.com>2018-09-28 09:54:52 +0800
committerchenxing <chason.chan@foxmail.com>2018-09-28 10:01:05 +0800
commit43e90216483d44749273cf2765e2fa3e4b008f08 (patch)
tree9633e46dd9a9623d587c0008cc22fd5741b077b3 /doc/source/contributor
parent7826ba2984911d894ff188be476bc6691290ebc8 (diff)
downloadkolla-43e90216483d44749273cf2765e2fa3e4b008f08.tar.gz
kolla-43e90216483d44749273cf2765e2fa3e4b008f08.zip
Remove '.. end' comments
Following by https://review.openstack.org/#/c/605097/ These were used by now-dead tooling. We can remove them. Change-Id: I790a18b3a40c22ec94bc6f6dba656ba4db518cfe
Diffstat (limited to 'doc/source/contributor')
-rw-r--r--doc/source/contributor/running-tests.rst22
1 files changed, 0 insertions, 22 deletions
diff --git a/doc/source/contributor/running-tests.rst b/doc/source/contributor/running-tests.rst
index 269b7da54..cb3cc4bdf 100644
--- a/doc/source/contributor/running-tests.rst
+++ b/doc/source/contributor/running-tests.rst
@@ -26,8 +26,6 @@ so the only package you install is ``tox`` itself:
pip install tox
-.. end
-
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.
@@ -38,24 +36,18 @@ To run the Python 2.7 tests:
tox -e py27
-.. end
-
To run the style tests:
.. code-block:: console
tox -e pep8
-.. end
-
To run multiple tests separate items by commas:
.. code-block:: console
tox -e py27,py35,pep8
-.. end
-
Running a subset of tests
-------------------------
@@ -69,16 +61,12 @@ To run the tests located only in the ``kolla/tests`` directory:
tox -e py27 kolla.tests
-.. end
-
To run the tests of a specific file say ``kolla/tests/test_set_config.py``:
.. code-block:: console
tox -e py27 test_set_config
-.. end
-
To run the tests in the ``ConfigFileTest`` class in
the ``kolla/tests/test_set_config.py`` file:
@@ -86,8 +74,6 @@ the ``kolla/tests/test_set_config.py`` file:
tox -e py27 test_set_config.ConfigFileTest
-.. end
-
To run the ``ConfigFileTest.test_delete_path_not_exists`` test method in
the ``kolla/tests/test_set_config.py`` file:
@@ -95,8 +81,6 @@ the ``kolla/tests/test_set_config.py`` file:
tox -e py27 test_set_config.ConfigFileTest.test_delete_path_not_exists
-.. end
-
Coverage Report Generation
--------------------------
@@ -106,8 +90,6 @@ In order to get coverage report for Kolla, run the below command.
tox -e cover
-.. end
-
Debugging unit tests
--------------------
@@ -118,8 +100,6 @@ a breaking point to the code:
import pdb; pdb.set_trace()
-.. end
-
Then run :command:`tox` with the debug environment as one of the following:
.. code-block:: console
@@ -127,8 +107,6 @@ Then run :command:`tox` with the debug environment as one of the following:
tox -e debug
tox -e debug test_file_name.TestClass.test_name
-.. end
-
For more information see the `oslotest documentation
<https://docs.openstack.org/oslotest/latest/user/features.html#debugging-with-oslo-debug-helper>`_.