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
diff --git a/manila_tempest_tests/tests/api/admin/test_quotas.py b/manila_tempest_tests/tests/api/admin/test_quotas.py
index 02d0a62..05a548f 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 @@
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 @@
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 @@
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()