aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 89c84afd..7d7ce33e 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(