]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: add unit test test_safe_prepare_osd_already_created 33086/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 7 Feb 2020 14:22:46 +0000 (15:22 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 7 Feb 2020 15:42:17 +0000 (16:42 +0100)
commitccf92d718d6f363f6ca3b7e8499b68beb8b30c06
tree9c9252c70e63d142e1818ca90a63ac91a6166e90
parent634a709b9c6802c5b12e2d45c2f43181b297adfb
ceph-volume: add unit test test_safe_prepare_osd_already_created

This commit adds a new unit test
`test_safe_prepare_osd_already_created()` in order to test when
`is_ceph_device()` returns `True` `RuntimeError` is well raised.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
src/ceph-volume/ceph_volume/tests/devices/lvm/test_prepare.py