Merge "Skip over quota tests if quota tests disabled"
This commit is contained in:
commit
2e8a2c2d25
@ -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