Adapting the test code to account for changes in heat client code

Change-Id: I19203f70dcc4d0b20ae8b961160b95f8c41109de
This commit is contained in:
Praveen Yalagandula 2016-03-16 22:54:19 +00:00
parent 2b43c70daf
commit 328f6d23c8
1 changed files with 3 additions and 1 deletions

View File

@ -790,9 +790,11 @@ class TestHeatStacks(TestResourcesBase):
self.stub_auth()
self.stub_list()
get_result = {'stack': client_fixtures.STACKS_LIST['stacks'][1]}
location = '%s/stacks/stack2/%s' % (self.TEST_URL,
client_fixtures.STACKS_IDS[1])
self.stub_url(
'GET', parts=['stacks', client_fixtures.STACKS_IDS[1]],
json=get_result)
json=get_result, location=location)
self.stub_url(
'DELETE',
parts=['stacks', 'stack2', client_fixtures.STACKS_IDS[1],