aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/vnf
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2017-07-02 11:45:18 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2017-07-02 11:51:07 +0200
commit2c3ba281084c7e6b01c7a5612a8a43d43565331a (patch)
treef474098e97fca298b54c21fe615bd8ff42e6594f /functest/opnfv_tests/vnf
parent3d03bbcfc45d00d4ce995d8aabff5808accb0687 (diff)
Stop modifying unix perm in cloudify_ims
It should be noted that several mockey patches should have been added in the related unit tests. Change-Id: I04bf003bc6beed1580c5d052c588f6f4ac23f768 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/opnfv_tests/vnf')
-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(