]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-volume: refactor ceph-disk_member unittests
authorJan Fajerski <jfajerski@suse.com>
Tue, 30 Jul 2019 11:29:22 +0000 (13:29 +0200)
committerJan Fajerski <jfajerski@suse.com>
Tue, 30 Jul 2019 13:27:20 +0000 (15:27 +0200)
commitf42287c3416ad09c112e64756f5051c5c13aa344
tree7ab01cfe18a50b41854bff7c0f4daf1821dc7e5a
parent475159ec73805137fce21241216fcdb2094b85bf
ceph-volume: refactor ceph-disk_member unittests

This adds a parameterized fixture as input to the tests. Should make
writing new tests easier since only fixture parameters need to be added.
In the future we should be able to reuse the fixtures to build other
fixtures and reuse the parametrization.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
src/ceph-volume/ceph_volume/tests/conftest.py
src/ceph-volume/ceph_volume/tests/util/test_device.py