]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-volume: data_allocate_fraction: arg_validators tests
authorJonas Pfefferle <pepperjo@japf.ch>
Thu, 3 Jun 2021 08:32:55 +0000 (10:32 +0200)
committerJonas Pfefferle <pepperjo@japf.ch>
Thu, 3 Jun 2021 08:32:55 +0000 (10:32 +0200)
commitadf8c178214e79dcc18b5d222b9db276b0d2f032
tree4bd5f21e879fed47090427de89f4e1f8a4cc0511
parent287ab0e04980acff2edff3d142bd96a9f8ebb0d0
ceph-volume: data_allocate_fraction: arg_validators tests

Add tests for argument validator. Check for Nan, <=0.0 and > 1.0

Signed-off-by: Jonas Pfefferle <pepperjo@japf.ch>
src/ceph-volume/ceph_volume/tests/util/test_arg_validators.py