]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
python-common: add test inputs verifying count & count-per-host >= 1 44267/head
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 10 Dec 2021 13:19:59 +0000 (08:19 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Fri, 10 Dec 2021 17:18:49 +0000 (12:18 -0500)
commit0eb4e7dd56f3db6448080b0e9b880927c1bb7e04
treec5c4af1def2ab2877dbd4c0cbcb21d7bcac3a93e
parent6169eb7f8e2462eb58338d6fc312b1347858b47f
python-common: add test inputs verifying count & count-per-host >= 1

This adds unit new test inputs, local to python-common that verify the
correct error messages are raised when count == 0 and count_per_host ==
0.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/python-common/ceph/tests/test_service_spec.py