]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: improve pytest coverage of the LSMDisk class
authorPaul Cuzner <pcuzner@redhat.com>
Sun, 16 Aug 2020 21:57:33 +0000 (09:57 +1200)
committerJan Fajerski <jfajerski@suse.com>
Thu, 27 Aug 2020 12:30:28 +0000 (14:30 +0200)
commit7047ab163f876a68d3e531a2b775c5b05968e9d0
tree88c9d4465761f08f7ecc697490d6ddd170555a11
parent959c83a71ff1fea076266daed92ba469fc9e0211
ceph-volume: improve pytest coverage of the LSMDisk class

By adding lsm_Disk, the attribute can be overridden within
the testcases to allow mock data to be used

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
(cherry picked from commit 05f7be95e9a3b83e2b4c7d3d3491781f8b8db98a)
src/ceph-volume/ceph_volume/util/lsmdisk.py