tests/osd: update tests to use new host fixture

Signed-off-by: Alfredo Deza <adeza@redhat.com>
pull/1781/head
Alfredo Deza 2017-08-21 15:42:46 -04:00
parent 31a960c323
commit 75060119c1
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
class TestOSD(object): 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 # TODO: figure out way to paramaterize node['vars']['devices'] for this test
for device in node["vars"]["devices"]: 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"]