summaryrefslogtreecommitdiff
path: root/.ci
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 /.ci
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 '.ci')
-rwxr-xr-x.ci/linux-prepare.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/.ci/linux-prepare.sh b/.ci/linux-prepare.sh
index b8ed787e1..1698a0713 100755
--- a/.ci/linux-prepare.sh
+++ b/.ci/linux-prepare.sh
@@ -42,6 +42,9 @@ if [ "$M32" ]; then
sudo apt-get install -y $pkgs
fi
+# Install python test dependencies
+pip install -r python/test_requirements.txt
+
# IPv6 is supported by kernel but disabled in TravisCI images:
# https://github.com/travis-ci/travis-ci/issues/8891
# Enable it to avoid skipping of IPv6 related tests.