diff options
author | Valerii Ponomarov <vponomar@redhat.com> | 2019-12-05 23:50:48 +0530 |
---|---|---|
committer | vponomar <vponomar@redhat.com> | 2019-12-11 12:27:00 +0000 |
commit | 0cd073fdd42ed19186719862ed78006738d89f3e (patch) | |
tree | 079b8a740d4146c58cb59e83c5a66bc86168d606 /tests/functional/arbiter | |
parent | e3d38114d334fa99f574a37ee8b5af7f60291be7 (diff) |
[py2to3] Fix various py3 incompatibilities
Change-Id: I6c517278c3f8bf6f374ab60bc27768e503161278
Diffstat (limited to 'tests/functional/arbiter')
-rw-r--r-- | tests/functional/arbiter/test_arbiter.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/arbiter/test_arbiter.py b/tests/functional/arbiter/test_arbiter.py index ea61c1f0..fb284e0c 100644 --- a/tests/functional/arbiter/test_arbiter.py +++ b/tests/functional/arbiter/test_arbiter.py @@ -351,9 +351,9 @@ class TestArbiterVolumeCreateExpandDelete(baseclass.BaseClass): self.verify_amount_and_proportion_of_arbiter_and_data_bricks( vol_info)) - expected_file_amount = pvc_size_gb * 1024**2 / (avg_file_size or 64) + expected_file_amount = pvc_size_gb * 1024**2 // (avg_file_size or 64) expected_file_amount = ( - expected_file_amount / bricks_info['arbiter_amount']) + expected_file_amount // bricks_info['arbiter_amount']) # Try to create expected amount of files on arbiter brick mount passed_arbiter_bricks = [] |