From 2c3ba281084c7e6b01c7a5612a8a43d43565331a Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Ollivier?= Date: Sun, 2 Jul 2017 11:45:18 +0200 Subject: [PATCH] Stop modifying unix perm in cloudify_ims MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- functest/opnfv_tests/vnf/ims/cloudify_ims.py | 6 +----- 1 file changed, 1 insertion(+), 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( -- 2.16.6