diff --git a/translator/tests/test_tosca_hot_translation.py b/translator/tests/test_tosca_hot_translation.py index 3b3d8908..55e70638 100644 --- a/translator/tests/test_tosca_hot_translation.py +++ b/translator/tests/test_tosca_hot_translation.py @@ -344,8 +344,10 @@ class ToscaHotTranslationTest(TestCase): json.dumps(diff, indent=4, separators=(', ', ': '))) def test_hot_translate_template_by_url_with_local_abspath_import(self): - tosca_file = 'https://ibm.box.com/shared/static/' \ - 'lrgdktp9vw3991y2hlogmghwwvnok3lu.yaml' + tosca_file = 'https://raw.githubusercontent.com/openstack/' \ + 'heat-translator/master/translator/tests/data/' \ + 'tosca_single_instance_wordpress_with_local_abspath' \ + '_import.yaml' hot_file = '../tests/data/hot_output/' \ 'hot_single_instance_wordpress.yaml' params = {'db_name': 'wordpress', @@ -361,13 +363,15 @@ class ToscaHotTranslationTest(TestCase): tosca_file, hot_file, params) self.assertEqual( 'Absolute file name /tmp/wordpress.yaml cannot be used for a ' - 'URL-based input https://ibm.box.com/shared/static/' - 'lrgdktp9vw3991y2hlogmghwwvnok3lu.yaml template.', + 'URL-based input https://raw.githubusercontent.com/openstack/' + 'heat-translator/master/translator/tests/data/tosca_single_' + 'instance_wordpress_with_local_abspath_import.yaml template.', err.__str__()) def test_hot_translate_template_by_url_with_url_import(self): - tosca_url = 'https://ibm.box.com/shared/static/' \ - 'tocmxe9b9x7to0lj5ph9mx58d47ol77m.yaml' + tosca_url = 'https://raw.githubusercontent.com/openstack/' \ + 'heat-translator/master/translator/tests/data/' \ + 'tosca_single_instance_wordpress_with_url_import.yaml' hot_file = '../tests/data/hot_output/' \ 'hot_single_instance_wordpress.yaml' params = {'db_name': 'wordpress', @@ -408,8 +412,8 @@ class ToscaHotTranslationTest(TestCase): json.dumps(diff, indent=4, separators=(', ', ': '))) def test_translate_elk_csar_from_url(self): - tosca_file = 'https://ibm.box.com/shared/static/' \ - 'k9vtus4jes1epl7vfojbcscgsd80inzv.zip' + tosca_file = 'https://github.com/openstack/heat-translator/raw/' \ + 'master/translator/tests/data/csar_elk.zip' hot_file = '../tests/data/hot_output/hot_elk_from_csar.yaml' params = {'github_url': 'http://github.com/paypal/rest-api-sample-app-nodejs.git',