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

Unified Diff: third_party/boto/tests/unit/ec2/test_blockdevicemapping.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/tests/unit/ec2/test_address.py ('k') | third_party/boto/tests/unit/ec2/test_connection.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/boto/tests/unit/ec2/test_blockdevicemapping.py
===================================================================
--- third_party/boto/tests/unit/ec2/test_blockdevicemapping.py (revision 33376)
+++ third_party/boto/tests/unit/ec2/test_blockdevicemapping.py (working copy)
@@ -65,7 +65,7 @@
retval = self.block_device_mapping.startElement("virtualName", None, None)
assert self.block_device_type_eq(retval, BlockDeviceType(self.block_device_mapping))
- def test_endElement_with_name_device_sets_current_name(self):
+ def test_endElement_with_name_device_sets_current_name_dev_null(self):
self.block_device_mapping.endElement("device", "/dev/null", None)
self.assertEqual(self.block_device_mapping.current_name, "/dev/null")
@@ -96,7 +96,7 @@
# Autoscaling).
self.set_http_response(status_code=200)
dev_sdf = BlockDeviceType(snapshot_id='snap-12345')
- dev_sdg = BlockDeviceType(snapshot_id='snap-12346')
+ dev_sdg = BlockDeviceType(snapshot_id='snap-12346', delete_on_termination=True)
bdm = BlockDeviceMapping()
bdm['/dev/sdf'] = dev_sdf
@@ -115,7 +115,7 @@
'BlockDeviceMapping.1.Ebs.DeleteOnTermination': 'false',
'BlockDeviceMapping.1.Ebs.SnapshotId': 'snap-12345',
'BlockDeviceMapping.2.DeviceName': '/dev/sdg',
- 'BlockDeviceMapping.2.Ebs.DeleteOnTermination': 'false',
+ 'BlockDeviceMapping.2.Ebs.DeleteOnTermination': 'true',
'BlockDeviceMapping.2.Ebs.SnapshotId': 'snap-12346',
'ImageId': '123456',
'InstanceType': 'm1.large',
« no previous file with comments | « third_party/boto/tests/unit/ec2/test_address.py ('k') | third_party/boto/tests/unit/ec2/test_connection.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698