Merge "Fix tempest ShareUserRules* tests"

This commit is contained in:
Jenkins 2015-06-11 22:57:05 +00:00 committed by Gerrit Code Review
commit cee48201f6

View File

@ -112,7 +112,7 @@ class ShareUserRulesForNFSTest(base.BaseSharesTest):
CONF.share.enable_user_rules_for_protocols): CONF.share.enable_user_rules_for_protocols):
msg = "USER rule tests for %s protocol are disabled" % cls.protocol msg = "USER rule tests for %s protocol are disabled" % cls.protocol
raise cls.skipException(msg) raise cls.skipException(msg)
__, cls.share = cls.create_share(cls.protocol) cls.share = cls.create_share(cls.protocol)
cls.access_type = "user" cls.access_type = "user"
cls.access_to = CONF.share.username_for_user_rules cls.access_to = CONF.share.username_for_user_rules