2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-28 21:07:47 +00:00
ovs/tests/pytest.at
Adrian Moreno 445dceb884 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>
2022-07-15 20:14:24 +02:00

9 lines
251 B
Plaintext

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()