]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/tasks: use "a // b" instead of "a / b"
authorKefu Chai <kchai@redhat.com>
Sat, 4 Apr 2020 16:02:40 +0000 (00:02 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 7 Apr 2020 12:33:47 +0000 (20:33 +0800)
commit2089bf04b9c3b4bb065bf4c0bafa97419f2d87ff
treeece52c64d3cec9560637645848a8ff165539f8ad
parent9ca45bd942ef1ed0d7ed61d87caffdfc97e54e5e
qa/tasks: use "a // b" instead of "a / b"

for expressions where the value is expected to be integer. as in
python3, `a / b` returns a float.

Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/tasks/cephfs/cephfs_test_case.py
qa/tasks/cephfs/filesystem.py
qa/tasks/cephfs/test_client_limits.py
qa/tasks/cephfs/test_client_recovery.py
qa/tasks/cephfs/test_data_scan.py
qa/tasks/cephfs/test_full.py
qa/tasks/cephfs/test_strays.py
qa/tasks/mon_recovery.py
qa/tasks/rados.py