]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test_volume_client: add positive test for ceph_volume_client method
authorRishabh Dave <ridave@redhat.com>
Fri, 21 Jun 2019 10:36:01 +0000 (16:06 +0530)
committerRishabh Dave <ridave@redhat.com>
Sat, 13 Jul 2019 06:13:03 +0000 (11:43 +0530)
commit9aa9ff01fdef9b7cdda789263a8df5ff22e16139
treec3b515260714e12e98f4f76b41e002c3c5c33a0b
parent7980e1fb7cf36372b8c3f4f2a135e4a74a670a11
test_volume_client: add positive test for ceph_volume_client method

ceph_volume_client.py's put_object_versioned() has only one test. Since
this only test is a negative test it may fail to assure that
put_object_versioned() works as expected with positive inputs even when
it completes successfully. Therefore, write a positive test for better
coverage.

Also, make sure the new test is both python 2 and python3 compatible.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
qa/tasks/cephfs/test_volume_client.py