blob: 086cfc97bdf3ba211b95411d6d14cc08f4f57c47 [file] [log] [blame]
Andrea Frittoli (andreaf)e07579c2016-08-05 07:27:02 +01001.. _clients:
2
3Service Clients Usage
4=====================
5
6Tests make requests against APIs using service clients. Service clients are
7specializations of the ``RestClient`` class. The service clients that cover the
8APIs exposed by a service should be grouped in a service clients module.
9A service clients module is python module where all service clients are
10defined. If major API versions are available, submodules should be defined,
11one for each version.
12
13The ``ClientsFactory`` class helps initializing all clients of a specific
14service client module from a set of shared parameters.
15
16The ``ServiceClients`` class provides a convenient way to get access to all
17available service clients initialized with a provided set of credentials.
18
19------------------
20The clients module
21------------------
22
23.. automodule:: tempest.lib.services.clients
24 :members: