heat-translator/translator/tests
dineshbhor b8c2c86333 Trivial: Fix unnecessary redundant code
While translating node_template, heat-translator first checks whether
the policy is derived from the policies 'tosca.policies.Scaling' or
'tosca.policies.Monitoring', If yes, then it adds them into
TOSCA_TO_HOT_TYPE map. In the subsequent code, it again checks for
those policies and if they are not present in TOSCA_TO_HOT_TYPE map
then it raises UnsupportedTypeError exception.

This patch removes this unnecessary redundant code of checking
policies again and ensures that the affected code is getting
covered through test case.

TrivialFix
Change-Id: Ibe435e23e7ac11834e662745d327e6f99280f9f5
2018-07-21 04:31:01 +00:00
..
data Trivial: Fix unnecessary redundant code 2018-07-21 04:31:01 +00:00
__init__.py Implement TOSCA Block Storage 2014-08-15 08:48:10 -05:00
base.py Implement TOSCA Block Storage 2014-08-15 08:48:10 -05:00
test_conf.py Allow for dynamic class loading of target types 2015-09-28 12:09:02 -05:00
test_shell.py Provide a specific stack_name when deploy a template use heat-translator 2016-08-31 13:53:49 +00:00
test_template.py Update code to use tosca-parser 0.4.0 2016-02-04 15:53:27 -08:00
test_tosca_hot_translation.py Trivial: Fix unnecessary redundant code 2018-07-21 04:31:01 +00:00
test_utils.py Enable deployment of CSAR with relative path references 2016-10-13 09:36:15 -04:00