Added swift version to object storage config.
Change-Id: I1c5b90e9208b49f09ab919fe52302108896efc63
This commit is contained in:
parent
89d0bfb60e
commit
dcf0902fcd
@ -53,6 +53,16 @@ class ObjectStorageAPIConfig(ConfigSectionInterface):
|
||||
"""
|
||||
return self.get_boolean('use_swift_info', True)
|
||||
|
||||
@property
|
||||
def version(self):
|
||||
"""
|
||||
Specify the version of swift running allowing tests tagged with the
|
||||
required_version decorator to skip tests based on version rules.
|
||||
This version is to be used if provided, even if a different version
|
||||
is returned from a /info call.
|
||||
"""
|
||||
return self.get('version', '')
|
||||
|
||||
@property
|
||||
def features(self):
|
||||
"""
|
||||
|
@ -117,3 +117,9 @@ password=testing
|
||||
# to determine the features available. If false, all features must
|
||||
# be provided via the config.
|
||||
# use_swift_info =
|
||||
|
||||
# Specify the version of swift running allowing tests tagged with the
|
||||
# required_version decorator to skip tests based on version rules.
|
||||
# This version is to be used if provided, even if a different version
|
||||
# is returned from a /info call.
|
||||
# version =
|
||||
|
Loading…
x
Reference in New Issue
Block a user