mirror of https://github.com/ceph/ceph-ansible.git
tests/osd: update tests to use new host fixture
Signed-off-by: Alfredo Deza <adeza@redhat.com>pull/1781/head
parent
31a960c323
commit
75060119c1
|
@ -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"]
|
||||||
|
|
Loading…
Reference in New Issue