]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: update skip messages in conftest.py
authorAndrew Schoen <aschoen@redhat.com>
Tue, 6 Dec 2016 16:50:54 +0000 (10:50 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Tue, 6 Dec 2016 20:56:20 +0000 (14:56 -0600)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
tests/conftest.py

index 5b6e74705f5f50af1d1f0873d30b3419da8f64ee..f980dcfd159c287a5af317fae62b98d337485d5a 100644 (file)
@@ -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":