Add StorageType and Iops elements to DBInstance XML response
This commit is contained in:
parent
170d09b64c
commit
c40437398f
3 changed files with 33 additions and 1 deletions
|
|
@ -26,6 +26,19 @@ class requires_boto_gte(object):
|
|||
return skip_test
|
||||
|
||||
|
||||
class requires_boto_lte(object):
|
||||
"""Decorator for requiring boto version lesser than or equal to 'version'"""
|
||||
def __init__(self, version):
|
||||
self.version = version
|
||||
|
||||
def __call__(self, test):
|
||||
boto_version = version_tuple(boto.__version__)
|
||||
required = version_tuple(self.version)
|
||||
if boto_version <= required:
|
||||
return test
|
||||
return skip_test
|
||||
|
||||
|
||||
class disable_on_py3(object):
|
||||
def __call__(self, test):
|
||||
if not six.PY3:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue