From: Andrew Schoen Date: Tue, 6 Dec 2016 16:50:54 +0000 (-0600) Subject: tests: update skip messages in conftest.py X-Git-Tag: v2.1.0~26^2~16 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1abbc948d9ba97d02859a793f5c826c2eabcdd8c;p=ceph-ansible.git tests: update skip messages in conftest.py Signed-off-by: Andrew Schoen --- diff --git a/tests/conftest.py b/tests/conftest.py index 5b6e74705..f980dcfd1 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -14,10 +14,10 @@ def node(Ansible, Interface, Command, request): ansible_vars = Ansible.get_variables() node_type = ansible_vars["group_names"][0] if not request.node.get_marker(node_type) and not request.node.get_marker('all'): - pytest.skip("Not a valid test for node type") + pytest.skip("Not a valid test for node type: %s" % node_type) if request.node.get_marker("journal_collocation") and not ansible_vars.get("journal_collocation"): - pytest.skip("Skipping because scenario is not using journal collocation") + pytest.skip("Scenario is not using journal collocation") osd_ids = [] if node_type == "osds":