Add tempest clients for limits
This change adds tempest clients for the registered limits and limits
APIs. While those APIs are experimental, it's best to start development
of the tempest tests in the keystone plugin rather than in tempest. This
base can be used for both developing exhaustive API tests for these APIs
as well as for RBAC tests.
Change-Id: I30b5b2ac5f10fd457e436df876f872432059b655
diff --git a/keystone_tempest_plugin/clients.py b/keystone_tempest_plugin/clients.py
index 97b5b14..93c0753 100644
--- a/keystone_tempest_plugin/clients.py
+++ b/keystone_tempest_plugin/clients.py
@@ -19,6 +19,7 @@
from keystone_tempest_plugin.services.identity.v3 import (
service_providers_client)
from keystone_tempest_plugin.services.identity.v3 import auth_client
+from keystone_tempest_plugin.services.identity.v3 import limits_client
from keystone_tempest_plugin.services.identity.v3 import saml2_client
from tempest import clients
@@ -29,7 +30,10 @@
def __init__(self, credentials):
super(Manager, self).__init__(credentials)
+ # keystone auth client
self.auth_client = auth_client.AuthClient(self.auth_provider)
+
+ # federation clients
self.identity_providers_client = (
identity_providers_client.IdentityProvidersClient(
self.auth_provider))
@@ -40,3 +44,8 @@
self.service_providers_client = (
service_providers_client.ServiceProvidersClient(
self.auth_provider))
+
+ # unified limits clients
+ self.registered_limits_client = limits_client.RegisteredLimitsClient(
+ self.auth_provider)
+ self.limits_client = limits_client.LimitsClient(self.auth_provider)