]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test_volume_client: add positive test for ceph_volume_client method 30236/head
authorRishabh Dave <ridave@redhat.com>
Fri, 21 Jun 2019 10:36:01 +0000 (16:06 +0530)
committerNathan Cutler <ncutler@suse.com>
Sat, 7 Sep 2019 08:45:06 +0000 (10:45 +0200)
commit90ed59cb0bcfb5e6d03f465b465d20b40f251b26
tree98951bf58e2b834d386b99f9bc9b1e66393d0470
parent4b93b3afac6730d3d148a921d35b3f452586a4e7
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>
(cherry picked from commit 9aa9ff01fdef9b7cdda789263a8df5ff22e16139)
qa/tasks/cephfs/test_volume_client.py