From Dan Kenigsberg danken@redhat.com:
Dan Kenigsberg has submitted this change and it was merged. ( https://gerrit.ovirt.org/79727 )
Change subject: net tests: Run functional tests using pytest ......................................................................
net tests: Run functional tests using pytest
Enable the network functional tests to be run using pytest.
The existing marking and assertion of the tests have been converted from nose to pytest.
There is no change in the unit and integration test run.
In order to run the network functional tests: pytest -m legacy_switch network/functional pytest -m ovs_switch network/functional
To run all functional tests except the ovsdpdk ones: pytest -m "not ovsdpdk_switch" network/functional
Note: pytest needs to be installed on the system (pip install pytest).
Change-Id: I1de97fc245bd11402f52f5cc2e981314e2050b53 Signed-off-by: Edward Haas edwardh@redhat.com --- M automation/check-merged.sh M tests/network/functional/bond_basic_test.py M tests/network/functional/dhclient_test.py M tests/network/functional/dns_test.py M tests/network/functional/dpdk_test.py M tests/network/functional/net_basic_test.py M tests/network/functional/net_qos_test.py M tests/network/functional/net_with_bond_test.py M tests/network/functional/netfunctestlib.py M tests/network/functional/netrestore_test.py M tests/network/functional/rollback_test.py M tests/network/functional/static_ip_test.py M tests/network/functional/switch_type_change_test.py 13 files changed, 474 insertions(+), 647 deletions(-)
Approvals: Nir Soffer: Looks good to me, but someone else must approve Jenkins CI: Passed CI tests Petr Horáček: Looks good to me, but someone else must approve Dan Kenigsberg: Looks good to me, approved Edward Haas: Verified
vdsm-patches@lists.fedorahosted.org