Merge "Skip over quota tests if quota tests disabled"

This commit is contained in:
Jenkins 2016-05-10 00:23:00 +00:00 committed by Gerrit Code Review
commit 2e8a2c2d25

View File

@ -36,6 +36,9 @@ class SharesActionsNegativeTest(base.BaseSharesTest):
@testtools.skipUnless(
CONF.share.run_extend_tests,
"Share extend tests are disabled.")
@testtools.skipUnless(
CONF.share.run_quota_tests,
"Quota tests are disabled.")
def test_share_extend_over_quota(self):
tenant_quotas = self.shares_client.show_quotas(
self.shares_client.tenant_id)