Skip to content

Commit 2cc6c47

Browse files
committed
host_no_sdn_controller: use pytest.fail() instead of pytest.skip()
Signed-off-by: Sebastien Marie <semarie@kapouay.eu.org>
1 parent 830f055 commit 2cc6c47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/network/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
def host_no_sdn_controller(host: Host) -> None:
77
""" An XCP-ng with no SDN controller. """
88
if host.xe('sdn-controller-list', minimal=True):
9-
pytest.skip("This test requires an XCP-ng with no SDN controller")
9+
pytest.fail("This test requires an XCP-ng with no SDN controller")

0 commit comments

Comments
 (0)