summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorAdrian Moreno <amorenoz@redhat.com>2022-07-08 20:03:12 +0200
committerIlya Maximets <i.maximets@ovn.org>2022-07-15 20:14:24 +0200
commit445dceb88461161bc230417fdf78c71e4d6683c1 (patch)
tree20b21066d3e0030cdac0b02362de06b6ef2852b4 /Documentation
parent6a71bc09bb89d73cc4d270ab9e5407e7da6ea4f9 (diff)
downloadopenvswitch-445dceb88461161bc230417fdf78c71e4d6683c1.tar.gz
python: Introduce unit tests.
Use pytest to run unit tests as part of the standard testsuite. Acked-by: Eelco Chaudron <echaudro@redhat.com> Signed-off-by: Adrian Moreno <amorenoz@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/intro/install/general.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/intro/install/general.rst b/Documentation/intro/install/general.rst
index c2208bbed..9ed3f6c78 100644
--- a/Documentation/intro/install/general.rst
+++ b/Documentation/intro/install/general.rst
@@ -181,6 +181,10 @@ following to obtain better warnings:
come from the "hacking" flake8 plugin. If it's not installed, the warnings
just won't occur until it's run on a system with "hacking" installed.
+- the python packages listed in "python/test_requirements.txt" (compatible
+ with pip). If they are installed, the pytest-based Python unit tests will
+ be run.
+
You may find the ovs-dev script found in ``utilities/ovs-dev.py`` useful.
.. _general-install-reqs: