]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
heat tests : StackBoto fix _check_*_result functions
authorSteven Hardy <shardy@redhat.com>
Tue, 23 Oct 2012 13:20:37 +0000 (14:20 +0100)
committerSteven Hardy <shardy@redhat.com>
Tue, 23 Oct 2012 21:05:03 +0000 (22:05 +0100)
The _check_*_result functions don't actually check anything
so make them check the response format, which should be a stackid

Change-Id: I6b22cdc64409846caadbd2ebca5e8a81eccc81a6
Signed-off-by: Steven Hardy <shardy@redhat.com>
heat/tests/functional/util.py

index cb6390b9f991dfe2e9272b5ea44b7be843795ef6..160d4f609165cf25d18abb49ec860dfc0ba89869 100644 (file)
@@ -547,10 +547,10 @@ class StackBoto(Stack):
     the CFN API).
     '''
     def _check_create_result(self, result):
-        pass
+        self.check_stackid(result)
 
     def _check_update_result(self, result):
-        pass
+        self.check_stackid(result)
 
     def _create_heat_client(self):
         # Connect to the keystone client with the supplied credentials