From de786503f7fa8abc4a256627c1d06d3292b5590a Mon Sep 17 00:00:00 2001 From: Dustin Schoenbrun Date: Mon, 9 Jul 2018 18:45:18 -0400 Subject: [PATCH] Fix erroneous test labels in quota tests There are some tests in the test_quota.py file that are erroneously tagged as negative. This patch changes those tags to be positive to be in line with the actual actions of the tests. Change-Id: I68362ad614cb3bb01b1f3ec752cd581f6237a990 Closes-Bug: #1780861 --- manila_tempest_tests/tests/api/admin/test_quotas.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manila_tempest_tests/tests/api/admin/test_quotas.py b/manila_tempest_tests/tests/api/admin/test_quotas.py index 02d0a62d..05a548f8 100644 --- a/manila_tempest_tests/tests/api/admin/test_quotas.py +++ b/manila_tempest_tests/tests/api/admin/test_quotas.py @@ -564,7 +564,7 @@ class SharesAdminQuotasUpdateTest(base.BaseSharesAdminTest): self.assertEqual(-1, quotas.get('share_group_snapshots')) @ddt.data(11, -1) - @tc.attr(base.TAG_NEGATIVE, base.TAG_API) + @tc.attr(base.TAG_POSITIVE, base.TAG_API) def test_update_user_quotas_bigger_than_project_quota(self, user_quota): self.client.update_quotas(self.tenant_id, shares=10) self.client.update_quotas( @@ -572,7 +572,7 @@ class SharesAdminQuotasUpdateTest(base.BaseSharesAdminTest): shares=user_quota) @ddt.data(11, -1) - @tc.attr(base.TAG_NEGATIVE, base.TAG_API) + @tc.attr(base.TAG_POSITIVE, base.TAG_API) @base.skip_if_microversion_lt("2.39") def test_update_share_type_quotas_bigger_than_project_quota(self, st_q): share_type = self._create_share_type() @@ -582,7 +582,7 @@ class SharesAdminQuotasUpdateTest(base.BaseSharesAdminTest): self.tenant_id, share_type=share_type['name'], force=True, shares=st_q) - @tc.attr(base.TAG_NEGATIVE, base.TAG_API) + @tc.attr(base.TAG_POSITIVE, base.TAG_API) @base.skip_if_microversion_lt("2.39") def test_set_share_type_quota_bigger_than_users_quota(self): share_type = self._create_share_type()