summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Lausuch <jose.lausuch@ericsson.com>2017-07-03 08:14:46 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-07-03 08:14:46 +0000
commit8d6a21b56cc49573e9eb965dcc242acced0ba731 (patch)
tree0242773492d853940f1d0f06acad6977ff94f1d6
parent4d3bd9b6ef97af407c42cb5992284f5f5ce68a96 (diff)
parent2c3ba281084c7e6b01c7a5612a8a43d43565331a (diff)
Merge "Stop modifying unix perm in cloudify_ims"
-rw-r--r--functest/opnfv_tests/vnf/ims/cloudify_ims.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/functest/opnfv_tests/vnf/ims/cloudify_ims.py b/functest/opnfv_tests/vnf/ims/cloudify_ims.py
index 89c84afdd..7d7ce33ea 100644
--- a/functest/opnfv_tests/vnf/ims/cloudify_ims.py
+++ b/functest/opnfv_tests/vnf/ims/cloudify_ims.py
@@ -10,7 +10,6 @@
import logging
import os
import sys
-import time
import requests
import yaml
@@ -169,10 +168,7 @@ class CloudifyIms(clearwater_ims_base.ClearwaterOnBoardingBase):
self.logger.info("Prepare virtualenv for cloudify-cli")
venv_scrit_dir = os.path.join(self.case_dir, "create_venv.sh")
- cmd = "chmod +x " + venv_scrit_dir
- ft_utils.execute_command(cmd)
- time.sleep(3)
- cmd = venv_scrit_dir + " " + self.data_dir
+ cmd = "bash {} {}".format(venv_scrit_dir, self.data_dir)
ft_utils.execute_command(cmd)
cfy.download_manager_blueprint(