]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume: fix lvm help test 38048/head
authorDimitri Savineau <dsavinea@redhat.com>
Mon, 9 Nov 2020 15:50:20 +0000 (10:50 -0500)
committerDimitri Savineau <dsavinea@redhat.com>
Thu, 12 Nov 2020 16:49:49 +0000 (11:49 -0500)
ed5ceb0 changed the LVM help code but not the associated test.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 879ed30984de2b94879959de1c3611083c85bd99)

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

index dd902866884ba2785e12b2acea194191f06eda07..2ef723e1a00c3aaecdf91024fd4e000d30ea7056 100644 (file)
@@ -8,7 +8,7 @@ class TestLVM(object):
     def test_main_spits_help_with_no_arguments(self, capsys):
         lvm.main.LVM([]).main()
         stdout, stderr = capsys.readouterr()
-        assert 'Use LVM and LVM-based technologies like dmcache to deploy' in stdout
+        assert 'Use LVM and LVM-based technologies to deploy' in stdout
 
     def test_main_shows_activate_subcommands(self, capsys):
         lvm.main.LVM([]).main()