fix typos
Change-Id: I948103febf0ef9d4c7070e9e5a8053aa5ce95c30
This commit is contained in:
parent
c8dc89b9d2
commit
ebdf250bc2
|
@ -189,7 +189,7 @@ def register_image(context, name=None, image_location=None,
|
|||
if block_device_mapping:
|
||||
mappings = instance_api._parse_block_device_mapping(
|
||||
context, block_device_mapping)
|
||||
# NOTE(andrey-mp): image BDM doesn't require resource_id instead 'uuid'
|
||||
# NOTE(andrey-mp): image BDM requires resource_id instead of 'uuid'
|
||||
for bdm in mappings:
|
||||
uuid = bdm.pop('uuid', None)
|
||||
if uuid:
|
||||
|
|
|
@ -37,7 +37,6 @@ class EC2_EBSInstanceTuneBDM(base.EC2TestCase):
|
|||
@classmethod
|
||||
@base.safe_setup
|
||||
def setUpClass(cls):
|
||||
raise cls.skipException('aws EBS image does not provided')
|
||||
super(EC2_EBSInstanceTuneBDM, cls).setUpClass()
|
||||
if not CONF.aws.ebs_image_id:
|
||||
raise cls.skipException('aws EBS image does not provided')
|
||||
|
@ -160,7 +159,6 @@ class EC2_EBSInstanceAttaching(base.EC2TestCase):
|
|||
@classmethod
|
||||
@base.safe_setup
|
||||
def setUpClass(cls):
|
||||
raise cls.skipException('aws EBS image does not provided')
|
||||
super(EC2_EBSInstanceAttaching, cls).setUpClass()
|
||||
|
||||
if not CONF.aws.run_incompatible_tests:
|
||||
|
|
Loading…
Reference in New Issue