From: Alfredo Deza Date: Mon, 21 Aug 2017 19:42:46 +0000 (-0400) Subject: tests/osd: update tests to use new host fixture X-Git-Tag: v3.0.0rc4~30^2~2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=75060119c14ee40c51a21effc13bc7e449989514;p=ceph-ansible.git tests/osd: update tests to use new host fixture Signed-off-by: Alfredo Deza --- diff --git a/tests/functional/tests/osd/test_journal_collocation.py b/tests/functional/tests/osd/test_journal_collocation.py index bd79d7553..3c6d4d234 100644 --- a/tests/functional/tests/osd/test_journal_collocation.py +++ b/tests/functional/tests/osd/test_journal_collocation.py @@ -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"]