]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: update tests since VolumeGroups.filter returns a list 30807/head
authorRishabh Dave <ridave@redhat.com>
Thu, 3 Oct 2019 12:14:37 +0000 (17:44 +0530)
committerJan Fajerski <jfajerski@suse.com>
Wed, 9 Oct 2019 11:51:17 +0000 (13:51 +0200)
commit1a89ccdc72b65dd83332425f7103299036f9eee2
treea9cf812ef12d65b08ed6414ad19f02fd6b25e1c9
parent17ea5b444f6fa90f46032914a5b75cbf342f6e6e
ceph-volume: update tests since VolumeGroups.filter returns a list

VolumeGroups.filter returns VolumeGroups object that contains VGs
matching the filter. Update the tests to hold the list returned by the
Volumes.filter() call.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit da58d239a0e067cd3ea5fd26aac24a2551b871c1)
src/ceph-volume/ceph_volume/tests/api/test_lvm.py
src/ceph-volume/ceph_volume/tests/conftest.py