some more tests to bump coverage

This commit is contained in:
Steve Pulec 2013-03-11 00:12:22 -04:00
commit 2d98a9caef
6 changed files with 16 additions and 31 deletions

View file

@ -13,6 +13,8 @@ class ElasticBlockStore(object):
device_path = self.querystring.get('Device')[0]
attachment = ec2_backend.attach_volume(volume_id, instance_id, device_path)
if not attachment:
return "", dict(status=404)
template = Template(ATTACHED_VOLUME_RESPONSE)
return template.render(attachment=attachment)