Commit 5575e333 authored by Priscila Manhaes's avatar Priscila Manhaes

Refactor to verify if exists the script for cloudooo paster, or it will...

Refactor to verify if exists the script for cloudooo paster, or it will continue expecting it's server start
parent ef25dd98
......@@ -202,10 +202,12 @@ branch = %(branch)s
config['partition_reference'])
run_test_suite_path = os.path.join(partition_path, 'bin',
'runCloudoooUnitTest')
if not os.path.exists(run_test_suite_path):
raise ValueError('No %r provided' % run_test_suite_path)
cloudooo_paster = os.path.join(partition_path, 'bin',
'cloudooo_paster')
if not os.path.exists(run_test_suite_path) or not \
os.path.exists(cloudooo_paster):
raise ValueError('No %r or %r provided' % (run_test_suite_path,
cloudooo_paster))
cloudooo_conf = os.path.join(partition_path, 'etc',
'conversion_server.cfg')
env_ld_library_path = re.findall("env-LD_LIBRARY_PATH\ \=\ .*",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment