summaryrefslogtreecommitdiff
path: root/heat/tests/test_stack_update.py
diff options
context:
space:
mode:
authorSergey Kraynev <skraynev@mirantis.com>2015-06-09 03:07:53 -0400
committerSergey Kraynev <skraynev@mirantis.com>2015-06-15 02:43:15 -0400
commitea116ab17d7e84a3f133513757138e3765e849c6 (patch)
tree5c07d27fdc066356860c143328544432a3b62bc8 /heat/tests/test_stack_update.py
parentee7ad5f106191323e04a7b861de385c8ee4bfdca (diff)
downloadheat-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.py3
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'}}}