]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
python-common: add test inputs verifying count & count-per-host >= 1 44527/head
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 10 Dec 2021 13:19:59 +0000 (08:19 -0500)
committerSebastian Wagner <sewagner@redhat.com>
Tue, 11 Jan 2022 12:23:04 +0000 (13:23 +0100)
commit48666102566c21127008c0d5dc73e3cf7af8b996
treec8f1c316f3d2f6c724060c413fc2ed5d3726e458
parent8b4681e2d1300047d65470f5e314b6e041419b57
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>
(cherry picked from commit 0eb4e7dd56f3db6448080b0e9b880927c1bb7e04)
src/python-common/ceph/tests/test_service_spec.py