Fix get_auth_providers errors (#6)

This commit resolves the error "has no attribute 'get_auth_providers'"
while executing contrail tempest tests.
'enable_rbac' flag in patrole is deprecated hence removing the check.
Ref: https://github.com/openstack/patrole/blob/master/patrole_tempest_plugin/config.py
Removed most of the resource_setup as
The "rbac_utils.RbacUtilsMixin" will create the project and there is no
need for that moreover it throws project already created /present error.

Change-Id: I1fbff22fbcc74bdcba9fd5a96fc81f41208ddc56
diff --git a/tungsten_tempest_plugin/tests/api/contrail/rbac_base.py b/tungsten_tempest_plugin/tests/api/contrail/rbac_base.py
index 1df4285..f16ca54 100644
--- a/tungsten_tempest_plugin/tests/api/contrail/rbac_base.py
+++ b/tungsten_tempest_plugin/tests/api/contrail/rbac_base.py
@@ -98,7 +98,7 @@
 LOG = logging.getLogger(__name__)
 
 
-class BaseContrailTest(test.BaseTestCase):
+class BaseContrailTest(rbac_utils.RbacUtilsMixin, test.BaseTestCase):
     """Base class for Contrail tests."""
     credentials = ['primary', 'admin']
 
@@ -115,17 +115,13 @@
                 "%s skipped because tempest roles is not admin" % cls.__name__)
 
     @classmethod
-    def setup_credentials(cls):
-        super(BaseContrailTest, cls).setup_credentials()
-
-    @classmethod
     def setup_clients(cls):
         super(BaseContrailTest, cls).setup_clients()
         cls.auth_provider = cls.os_primary.auth_provider
         cls.admin_client = cls.os_admin.networks_client
         dscv = CONF.identity.disable_ssl_certificate_validation
         ca_certs = CONF.identity.ca_certificates_file
-        cls.rbac_utils = rbac_utils.RbacUtils(cls)
+        cls.setup_rbac_utils()
         cls.access_control_client = AccessControlClient(
             cls.auth_provider,
             CONF.sdn.catalog_type,
@@ -375,22 +371,6 @@
     @classmethod
     def resource_setup(cls):
         cls.tenant_name = cls.os_primary.credentials.tenant_name
-        if CONF.auth.use_dynamic_credentials:
-            # Create a contrail project for tests
-            post_body = {
-                'parent_type': 'domain',
-                'fq_name': ['default-domain', cls.tenant_name]
-            }
-            resp_body = cls.project_client.create_projects(**post_body)
-            cls.project_uuid = resp_body['project']['uuid']
-
-    @classmethod
-    def resource_cleanup(cls):
-        if CONF.auth.use_dynamic_credentials:
-            cls._try_delete_resource(cls.project_client.delete_project,
-                                     cls.project_uuid)
-
-        super(BaseContrailTest, cls).resource_cleanup()
 
     @classmethod
     def _try_delete_resource(cls, delete_callable, *args, **kwargs):