summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-06-06 09:28:38 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-06-06 09:33:52 +0200
commita7e9a1db5e6240b54c0b62defc43cafc6c99e490 (patch)
tree2fdd36ee53f95715fbf46de572de46f5ec2f36bb
parent8bfca870f66bfce693ba2cbaa0e0ff437d4ed42a (diff)
Switch to Python3 divide in cloudify_ims
The code simply asks for python3 divide else only live_test = 100% is considered as successful [1]. [1] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-fraser/169/console Change-Id: I84690d20791cd3d6a68823eec40f0e4b0f876b72 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit f7b6a9a8d69313bbb8203eaf25b2d78d86ae799c)
-rw-r--r--functest/opnfv_tests/vnf/ims/cloudify_ims.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/functest/opnfv_tests/vnf/ims/cloudify_ims.py b/functest/opnfv_tests/vnf/ims/cloudify_ims.py
index 270c0a7cf..659549408 100644
--- a/functest/opnfv_tests/vnf/ims/cloudify_ims.py
+++ b/functest/opnfv_tests/vnf/ims/cloudify_ims.py
@@ -9,6 +9,8 @@
"""CloudifyIms testcase implementation."""
+from __future__ import division
+
import logging
import os
import time