From 39bdc2e3f621a32bcbb3dfe64f156bbfd7e4f5ee Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Thu, 19 Oct 2017 12:03:17 -0400 Subject: [PATCH] ceph-volume tests update changes from the help menu in lvm Signed-off-by: Alfredo Deza --- .../ceph_volume/tests/devices/lvm/test_prepare.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ceph-volume/ceph_volume/tests/devices/lvm/test_prepare.py b/src/ceph-volume/ceph_volume/tests/devices/lvm/test_prepare.py index e8ac0939929..c6311bc27b1 100644 --- a/src/ceph-volume/ceph_volume/tests/devices/lvm/test_prepare.py +++ b/src/ceph-volume/ceph_volume/tests/devices/lvm/test_prepare.py @@ -33,8 +33,9 @@ class TestPrepare(object): with pytest.raises(SystemExit): lvm.prepare.Prepare(argv=['--help']).main() stdout, stderr = capsys.readouterr() - assert 'required arguments:' in stdout - assert 'A logical group name or a path' in stdout + assert 'Use the filestore objectstore' in stdout + assert 'Use the bluestore objectstore' in stdout + assert 'Bluestore: A physical device or volume' in stdout class TestGetJournalLV(object):