Skip Stack Adopt/Abandon integration tests when Stack Adopt is disabled
Closes-Bug: 1415838
Change-Id: I79a8dab72579e9fe1fccb2a67d12cc57d14640ae
diff --git a/functional/test_template_resource.py b/functional/test_template_resource.py
index 3b723f8..39855be 100644
--- a/functional/test_template_resource.py
+++ b/functional/test_template_resource.py
@@ -389,7 +389,7 @@
stack_identifier = '%s/%s' % (stack_name, stack.id)
self._wait_for_stack_status(stack_identifier, 'CREATE_COMPLETE')
- info = self.client.stacks.abandon(stack_id=stack_identifier)
+ info = self.stack_abandon(stack_id=stack_identifier)
self.assertEqual(self._yaml_to_json(self.main_template),
info['template'])
self.assertEqual(self._yaml_to_json(self.nested_templ),