Creates service client instance.
Example:
.. code-block:: python
def my_client(create_service_client):
return create_service_client('http://localhost:9999/')
Definition at line 208 of file pytest_plugin.py.
Public Member Functions | |
| __call__ (self, str base_url, *, client_class=service_client.Client, **kwargs) | |
| :param base_url: base url for http client :param client_class: client class to use :returns: client_class instance | |
| testsuite.daemons.pytest_plugin.CreateServiceClientFixture.__call__ | ( | self, | |
| str | base_url, | ||
| * | , | ||
| client_class = service_client.Client, | |||
| ** | kwargs ) |
:param base_url: base url for http client :param client_class: client class to use :returns: client_class instance
Definition at line 219 of file pytest_plugin.py.