From aaf6086ccf77e89593583162acb54fba70a9696a Mon Sep 17 00:00:00 2001 From: Alex Meade Date: Mon, 9 May 2016 09:15:25 -0400 Subject: [PATCH] Skip over quota tests if quota tests disabled Closes-Bug: 1579759 Change-Id: Ieb36d03788ed516a13954b56d2de3e4a75514185 --- manila_tempest_tests/tests/api/test_shares_actions_negative.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/manila_tempest_tests/tests/api/test_shares_actions_negative.py b/manila_tempest_tests/tests/api/test_shares_actions_negative.py index 5b50a72a..891c491d 100644 --- a/manila_tempest_tests/tests/api/test_shares_actions_negative.py +++ b/manila_tempest_tests/tests/api/test_shares_actions_negative.py @@ -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)