]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests/osd: update tests to use new host fixture
authorAlfredo Deza <adeza@redhat.com>
Mon, 21 Aug 2017 19:42:46 +0000 (15:42 -0400)
committerAlfredo Deza <adeza@redhat.com>
Mon, 21 Aug 2017 20:50:01 +0000 (16:50 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
tests/functional/tests/osd/test_journal_collocation.py

index bd79d75538c6fa7eeab862f736f25c5b7367f94f..3c6d4d2349a327df0f4413068504a03089f89e07 100644 (file)
@@ -1,7 +1,7 @@
 
 class TestOSD(object):
 
-    def test_osds_are_all_collocated(self, node, Command):
+    def test_osds_are_all_collocated(self, node, host):
         # TODO: figure out way to paramaterize node['vars']['devices'] for this test
         for device in node["vars"]["devices"]:
-            assert Command.check_output("sudo blkid -s PARTLABEL -o value %s2" % device) in ["ceph journal", "ceph block"]
+            assert host.check_output("sudo blkid -s PARTLABEL -o value %s2" % device) in ["ceph journal", "ceph block"]