Move test_notifications to functional
Change-Id: I8fa39fa0ba65edeb2b4c7d0b22eb8206f47d3083
diff --git a/common/test.py b/common/test.py
index 2392b8e..8ffbea3 100644
--- a/common/test.py
+++ b/common/test.py
@@ -346,3 +346,13 @@
self.skipTest('Testing Stack abandon disabled in conf, skipping')
info = self.client.stacks.abandon(stack_id=stack_id)
return info
+
+ def stack_suspend(self, stack_identifier):
+ stack_name = stack_identifier.split('/')[0]
+ self.client.actions.suspend(stack_name)
+ self._wait_for_stack_status(stack_identifier, 'SUSPEND_COMPLETE')
+
+ def stack_resume(self, stack_identifier):
+ stack_name = stack_identifier.split('/')[0]
+ self.client.actions.resume(stack_name)
+ self._wait_for_stack_status(stack_identifier, 'RESUME_COMPLETE')