Split templates and tests in scenario tests
- Added subdirectory "templates" for storing all templates used in
scenario tests.
- Added parameter sub_dir for method _load_template.
- Inline template was moved in templates directory from
test_neutron_autoscaling.
Change-Id: I1acaf1ccc1466cf7ffc2e004eff486f49f4b5928
diff --git a/scenario/test_volumes.py b/scenario/test_volumes.py
index 841a091..9953648 100644
--- a/scenario/test_volumes.py
+++ b/scenario/test_volumes.py
@@ -56,7 +56,7 @@
# TODO(shardy): refactor this into a generic base-class helper
net = self._get_default_network()
stack_name = self._stack_rand_name()
- template = self._load_template(__file__, template_name)
+ template = self._load_template(__file__, template_name, 'templates')
parameters = {'key_name': self.keypair_name,
'instance_type': self.conf.instance_type,
'image_id': self.conf.minimal_image_ref,