summaryrefslogtreecommitdiff
path: root/tests/pytest.at
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pytest.at')
-rw-r--r--tests/pytest.at8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/pytest.at b/tests/pytest.at
new file mode 100644
index 000000000..0e75da4c4
--- /dev/null
+++ b/tests/pytest.at
@@ -0,0 +1,8 @@
+AT_BANNER([Python unit tests])
+
+# Run pytest unit tests.
+AT_SETUP([Pytest unit tests - Python3])
+AT_KEYWORDS([python])
+AT_SKIP_IF([test "$HAVE_PYTEST" = "no"])
+AT_CHECK([$PYTHON3 -m pytest $top_srcdir/python/ovs],[0], [ignore], [ignore])
+AT_CLEANUP()