summaryrefslogtreecommitdiffstats
path: root/snaps/openstack/utils/tests
diff options
context:
space:
mode:
authorspisarski <s.pisarski@cablelabs.com>2017-06-14 11:22:33 +0800
committerspisarski <s.pisarski@cablelabs.com>2017-06-14 11:22:33 +0800
commitc11ad93486a89a29cf90bfeceb0e1da38c419799 (patch)
treed030026510b40e0d9dd4d2b29d8e3f2360d3156a /snaps/openstack/utils/tests
parent01508fe34b6595f8b47ea808e433bc8cb210e94e (diff)
Need to move file resources required by tests.
Functest was not installing the heat resource files required by the snaps tests being run by Functest as the heat template file used by the tests as it was under the repository's root directory which is causing tests to fail. Change-Id: I214d2e61e92f7dfa2e9859dded1e7ea08706314d Signed-off-by: spisarski <s.pisarski@cablelabs.com>
Diffstat (limited to 'snaps/openstack/utils/tests')
-rw-r--r--snaps/openstack/utils/tests/heat_utils_tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/snaps/openstack/utils/tests/heat_utils_tests.py b/snaps/openstack/utils/tests/heat_utils_tests.py
index 95f83ce..eefc1bf 100644
--- a/snaps/openstack/utils/tests/heat_utils_tests.py
+++ b/snaps/openstack/utils/tests/heat_utils_tests.py
@@ -87,7 +87,8 @@ class HeatUtilsCreateStackTests(OSComponentTestCase):
env_values = {'image_name': self.image_creator.image_settings.name,
'flavor_name': self.flavor_creator.flavor_settings.name}
- heat_tmplt_path = pkg_resources.resource_filename('examples.heat', 'test_heat_template.yaml')
+ heat_tmplt_path = pkg_resources.resource_filename(
+ 'snaps.openstack.tests.heat', 'test_heat_template.yaml')
self.stack_settings = StackSettings(name=stack_name, template_path=heat_tmplt_path, env_values=env_values)
self.stack = None
self.heat_client = heat_utils.heat_client(self.os_creds)