Skip over quota tests if quota tests disabled
Closes-Bug: 1579759 Change-Id: Ieb36d03788ed516a13954b56d2de3e4a75514185
This commit is contained in:
parent
552a388053
commit
aaf6086ccf
@ -36,6 +36,9 @@ class SharesActionsNegativeTest(base.BaseSharesTest):
|
|||||||
@testtools.skipUnless(
|
@testtools.skipUnless(
|
||||||
CONF.share.run_extend_tests,
|
CONF.share.run_extend_tests,
|
||||||
"Share extend tests are disabled.")
|
"Share extend tests are disabled.")
|
||||||
|
@testtools.skipUnless(
|
||||||
|
CONF.share.run_quota_tests,
|
||||||
|
"Quota tests are disabled.")
|
||||||
def test_share_extend_over_quota(self):
|
def test_share_extend_over_quota(self):
|
||||||
tenant_quotas = self.shares_client.show_quotas(
|
tenant_quotas = self.shares_client.show_quotas(
|
||||||
self.shares_client.tenant_id)
|
self.shares_client.tenant_id)
|
||||||
|
Loading…
Reference in New Issue
Block a user