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

Side by Side Diff: third_party/gsutil/boto/tests/ec2/test_connection.py

Issue 10199002: Upgrade gsutil to 3.4 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed comments Created 8 years, 8 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2006-2010 Mitch Garnaat http://garnaat.org/ 1 # Copyright (c) 2006-2010 Mitch Garnaat http://garnaat.org/
2 # Copyright (c) 2009, Eucalyptus Systems, Inc. 2 # Copyright (c) 2009, Eucalyptus Systems, Inc.
3 # All rights reserved. 3 # All rights reserved.
4 # 4 #
5 # Permission is hereby granted, free of charge, to any person obtaining a 5 # Permission is hereby granted, free of charge, to any person obtaining a
6 # copy of this software and associated documentation files (the 6 # copy of this software and associated documentation files (the
7 # "Software"), to deal in the Software without restriction, including 7 # "Software"), to deal in the Software without restriction, including
8 # without limitation the rights to use, copy, modify, merge, publish, dis- 8 # without limitation the rights to use, copy, modify, merge, publish, dis-
9 # tribute, sublicense, and/or sell copies of the Software, and to permit 9 # tribute, sublicense, and/or sell copies of the Software, and to permit
10 # persons to whom the Software is furnished to do so, subject to the fol- 10 # persons to whom the Software is furnished to do so, subject to the fol-
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 161
162 # short test around Paid AMI capability 162 # short test around Paid AMI capability
163 demo_paid_ami_id = 'ami-bd9d78d4' 163 demo_paid_ami_id = 'ami-bd9d78d4'
164 demo_paid_ami_product_code = 'A79EC0DB' 164 demo_paid_ami_product_code = 'A79EC0DB'
165 l = c.get_all_images([demo_paid_ami_id]) 165 l = c.get_all_images([demo_paid_ami_id])
166 assert len(l) == 1 166 assert len(l) == 1
167 assert len(l[0].product_codes) == 1 167 assert len(l[0].product_codes) == 1
168 assert l[0].product_codes[0] == demo_paid_ami_product_code 168 assert l[0].product_codes[0] == demo_paid_ami_product_code
169 169
170 print '--- tests completed ---' 170 print '--- tests completed ---'
OLDNEW
« no previous file with comments | « third_party/gsutil/boto/tests/ec2/elb/test_connection.py ('k') | third_party/gsutil/boto/tests/emr/test_emr_responses.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698