manila_tempest_tests: fix exception messages
TrivialFix Change-Id: I6113e1663027535c3fe5b3b129bf270cebbad490
This commit is contained in:
@@ -433,8 +433,8 @@ class ShareRulesTest(base.BaseSharesTest):
|
||||
def test_list_access_rules(self, version):
|
||||
if (utils.is_microversion_lt(version, '2.13') and
|
||||
CONF.share.enable_cephx_rules_for_protocols):
|
||||
msg = ("API version %s does not support cephx access type, "
|
||||
"need version greater than 2.13." % version)
|
||||
msg = ("API version %s does not support cephx access type, need "
|
||||
"version >= 2.13." % version)
|
||||
raise self.skipException(msg)
|
||||
|
||||
# create rule
|
||||
@@ -495,8 +495,8 @@ class ShareRulesTest(base.BaseSharesTest):
|
||||
def test_access_rules_deleted_if_share_deleted(self, version):
|
||||
if (utils.is_microversion_lt(version, '2.13') and
|
||||
CONF.share.enable_cephx_rules_for_protocols):
|
||||
msg = ("API version %s does not support cephx access type, "
|
||||
"need version greater than 2.13." % version)
|
||||
msg = ("API version %s does not support cephx access type, need "
|
||||
"version >= 2.13." % version)
|
||||
raise self.skipException(msg)
|
||||
|
||||
# create share
|
||||
|
@@ -355,8 +355,8 @@ def skip_if_cephx_access_type_not_supported_by_client(self, client):
|
||||
version = LATEST_MICROVERSION
|
||||
if (CONF.share.enable_cephx_rules_for_protocols and
|
||||
utils.is_microversion_lt(version, '2.13')):
|
||||
msg = ("API version %s does not support cephx access type, "
|
||||
"need version greater than 2.13." % version)
|
||||
msg = ("API version %s does not support cephx access type, need "
|
||||
"version >= 2.13." % version)
|
||||
raise self.skipException(msg)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user