]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume tests update changes from the help menu in lvm
authorAlfredo Deza <adeza@redhat.com>
Thu, 19 Oct 2017 16:03:17 +0000 (12:03 -0400)
committerAlfredo Deza <adeza@redhat.com>
Fri, 27 Oct 2017 14:44:18 +0000 (10:44 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 39bdc2e3f621a32bcbb3dfe64f156bbfd7e4f5ee)

src/ceph-volume/ceph_volume/tests/devices/lvm/test_prepare.py

index e8ac0939929ff3db4e43cefeafe1d4502fff943e..c6311bc27b1a33a146f5cbc8a33de80dbedc8fcb 100644 (file)
@@ -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):