From 1abbc948d9ba97d02859a793f5c826c2eabcdd8c Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Tue, 6 Dec 2016 10:50:54 -0600 Subject: [PATCH] tests: update skip messages in conftest.py Signed-off-by: Andrew Schoen --- tests/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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": -- 2.39.5