some more tests to bump coverage
This commit is contained in:
parent
127a0d5993
commit
2d98a9caef
6 changed files with 16 additions and 31 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue