diff options
author | Sergey Kraynev <skraynev@mirantis.com> | 2015-06-09 03:07:53 -0400 |
---|---|---|
committer | Sergey Kraynev <skraynev@mirantis.com> | 2015-06-15 02:43:15 -0400 |
commit | ea116ab17d7e84a3f133513757138e3765e849c6 (patch) | |
tree | 5c07d27fdc066356860c143328544432a3b62bc8 /heat/tests/test_stack_update.py | |
parent | ee7ad5f106191323e04a7b861de385c8ee4bfdca (diff) | |
download | heat-ea116ab17d7e84a3f133513757138e3765e849c6.tar.gz |
Move registration of GenericResource to HeatTest
This patch moves registration of GenericResource to the main test class.
There are several places, where original registration was saved:
- heat/tests/autoscaling/test_lbutils.py - need to be consist with type
names of other resources which are used in test.
- heat/tests/test_environment.py - need special type name for testing
environment mapping.
- heat/tests/test_engine_service.py - need two different types fro mapping.
Change-Id: I33bdaf3d59e573526e5ffa24086ad55be6bbe6ae
Diffstat (limited to 'heat/tests/test_stack_update.py')
-rw-r--r-- | heat/tests/test_stack_update.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/heat/tests/test_stack_update.py b/heat/tests/test_stack_update.py index d15dbc329..ed85fb1cb 100644 --- a/heat/tests/test_stack_update.py +++ b/heat/tests/test_stack_update.py @@ -37,9 +37,6 @@ class StackUpdateTest(common.HeatTestCase): self.tmpl = template.Template(copy.deepcopy(empty_template)) self.ctx = utils.dummy_context() - resource._register_class('GenericResourceType', - generic_rsrc.GenericResource) - def test_update_add(self): tmpl = {'HeatTemplateFormatVersion': '2012-12-12', 'Resources': {'AResource': {'Type': 'GenericResourceType'}}} |