Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1304)

Unified Diff: third_party/boto/tests/integration/cloudformation/test_connection.py

Issue 698893003: Update checked in version of gsutil to version 4.6 (Closed) Base URL: http://dart.googlecode.com/svn/third_party/gsutil/
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/boto/setup.py ('k') | third_party/boto/tests/integration/cloudsearch2/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/boto/tests/integration/cloudformation/test_connection.py
===================================================================
--- third_party/boto/tests/integration/cloudformation/test_connection.py (revision 33376)
+++ third_party/boto/tests/integration/cloudformation/test_connection.py (working copy)
@@ -105,6 +105,18 @@
template_body=json.dumps(BASIC_EC2_TEMPLATE))
self.addCleanup(self.connection.delete_stack, self.stack_name)
+ # A newly created stack should have events
+ events = self.connection.describe_stack_events(self.stack_name)
+ self.assertTrue(events)
+ # No policy should be set on the stack by default
+ policy = self.connection.get_stack_policy(self.stack_name)
+ self.assertEqual(None, policy)
+
+ # Our new stack should show up in the stack list
+ stacks = self.connection.describe_stacks()
+ self.assertEqual(self.stack_name, stacks[0].stack_name)
+
+
if __name__ == '__main__':
unittest.main()
« no previous file with comments | « third_party/boto/setup.py ('k') | third_party/boto/tests/integration/cloudsearch2/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698