Fix ReplicaQuotasNegativeTest
This test was not being executed in the CI
due to recent changes in manila-tempest-plugin
and a few bugs went unnoticed.
Change-Id: I4fd282673074887cada729b6e4491ee493e230cc
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
diff --git a/manila_tempest_tests/tests/api/admin/test_quotas_negative.py b/manila_tempest_tests/tests/api/admin/test_quotas_negative.py
index 7d81615..e039045 100644
--- a/manila_tempest_tests/tests/api/admin/test_quotas_negative.py
+++ b/manila_tempest_tests/tests/api/admin/test_quotas_negative.py
@@ -405,6 +405,13 @@
force_tenant_isolation = True
@classmethod
+ def resource_setup(cls):
+ super(ReplicaQuotasNegativeTest, cls).resource_setup()
+ cls.client = cls.shares_v2_client
+ cls.user_id = cls.client.user_id
+ cls.tenant_id = cls.client.tenant_id
+
+ @classmethod
def skip_checks(cls):
super(ReplicaQuotasNegativeTest, cls).skip_checks()
if not CONF.auth.use_dynamic_credentials: