diff options
author | Sergey Kraynev <skraynev@mirantis.com> | 2015-08-07 10:14:13 -0400 |
---|---|---|
committer | Sergey Kraynev <skraynev@mirantis.com> | 2015-08-07 10:14:13 -0400 |
commit | 948dcb57d2116173d114be2da2db8a9c1eb1a89f (patch) | |
tree | 01d406461ae2182bae004fec4e3ce26d538eee9f /heatclient/tests/functional | |
parent | 142d0996ec9ef086b90fee7356c092d8665c679d (diff) | |
download | python-heatclient-948dcb57d2116173d114be2da2db8a9c1eb1a89f.tar.gz |
Use Heat resource to validate resource_type_show
Patch I01aaadf86bf86f2a01bfd3fd28541522ef5a99cf added new functionality,
which raise error, if resource related endpoint is not registred in
keystone. Due to heatclient functional tests job starts only heat and
keystone service, we should use Heat resources for testing. The good
candidate for it is OS::Heat::RandomString.
Change-Id: I274a6db5c886ce8e19968e6e2ae8b16e93315cb7
Closes-Bug: #1482661
Diffstat (limited to 'heatclient/tests/functional')
-rw-r--r-- | heatclient/tests/functional/test_readonly_heat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/heatclient/tests/functional/test_readonly_heat.py b/heatclient/tests/functional/test_readonly_heat.py index e49c1e9..84fe049 100644 --- a/heatclient/tests/functional/test_readonly_heat.py +++ b/heatclient/tests/functional/test_readonly_heat.py @@ -56,7 +56,7 @@ class SimpleReadOnlyHeatClientTest(base.ClientTestBase): self.assertTableStruct(rsrc_types, ['resource_type']) def test_heat_resource_type_show(self): - rsrc_schema = self.heat('resource-type-show OS::Nova::Server') + rsrc_schema = self.heat('resource-type-show OS::Heat::RandomString') # resource-type-show returns a json resource schema self.assertIsInstance(json.loads(rsrc_schema), dict) |