]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume: fix typo in tests 44791/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 14 Dec 2021 10:08:48 +0000 (11:08 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 14 Feb 2022 15:43:08 +0000 (16:43 +0100)
This fixes 2 typo in ceph-volume tests.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit b07bd3e0e17021e0cf9773f916fad954f12254ed)

src/ceph-volume/ceph_volume/tests/util/test_device.py

index bb6aa97377dc011b309609e00e89556d67b4701e..8907d464944dbee9b26b2fcd42633b69e9643490 100644 (file)
@@ -137,14 +137,14 @@ class TestDevice(object):
         disk = device.Device("/dev/foo")
         assert disk.is_device is True
 
-    def test_is_not_lvm_memeber(self, device_info):
+    def test_is_not_lvm_member(self, device_info):
         data = {"/dev/sda1": {"foo": "bar"}}
         lsblk = {"TYPE": "part", "PKNAME": "sda"}
         device_info(devices=data, lsblk=lsblk)
         disk = device.Device("/dev/sda1")
         assert not disk.is_lvm_member
 
-    def test_is_lvm_memeber(self, device_info):
+    def test_is_lvm_member(self, device_info):
         data = {"/dev/sda1": {"foo": "bar"}}
         lsblk = {"TYPE": "part", "PKNAME": "sda"}
         device_info(devices=data, lsblk=lsblk)