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>
import logging
import os
import sys
-import time
import requests
import yaml
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(