From Dan Kenigsberg <[email protected]>:

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 <[email protected]>
---
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



-- 
To view, visit https://gerrit.ovirt.org/79727
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I1de97fc245bd11402f52f5cc2e981314e2050b53
Gerrit-PatchSet: 13
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Edward Haas <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Edward Haas <[email protected]>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Leon Goldberg <[email protected]>
Gerrit-Reviewer: Nir Soffer <[email protected]>
Gerrit-Reviewer: Petr Horáček <[email protected]>
Gerrit-Reviewer: gerrit-hooks <[email protected]>
_______________________________________________
vdsm-patches mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to