manila_tempest_tests: fix exception messages

TrivialFix

Change-Id: I6113e1663027535c3fe5b3b129bf270cebbad490
This commit is contained in:
Ramana Raja
2016-08-16 16:58:13 +05:30
parent fb264a4e5a
commit 641c74cf4e
2 changed files with 6 additions and 6 deletions

View File

@@ -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

View File

@@ -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)