MODULE

PYTEST_HELM_CHARTS.UTILS

Different utilities required over the whole testing lib.

Functions
  • proxy_http_delete(client, srv, path, **kwargs) (Response) Issue a DELETE request to proxy of a Service.</>
  • proxy_http_get(client, srv, path, **kwargs) (Response) Issue a GET request to proxy of a Service.</>
  • proxy_http_post(client, srv, path, **kwargs) (Response) Issue a POST request to proxy of a Service.</>
  • proxy_http_put(client, srv, path, **kwargs) (Response) Issue a PUT request to proxy of a Service.</>
  • proxy_http_request(client, srv, method, path, **kwargs) (Response) Template request to proxy of a Service.</>
function

pytest_helm_charts.utils.proxy_http_request(client, srv, method, path, **kwargs)

Template request to proxy of a Service.

Parameters
  • client (HTTPClient)
  • srv (Service)
  • method
  • path
  • **kwargs
  • param kwargs: Keyword arguments for the proxy_http_get function.
Returns (Response)

The Response data.

function

pytest_helm_charts.utils.proxy_http_get(client, srv, path, **kwargs)

Issue a GET request to proxy of a Service.

Parameters
  • client (HTTPClient)
  • srv (Service)
  • path (str)
  • **kwargs
  • param kwargs: Keyword arguments for the proxy_http_get function.
Returns (Response)

The response data.

function

pytest_helm_charts.utils.proxy_http_post(client, srv, path, **kwargs)

Issue a POST request to proxy of a Service.

Parameters
  • client (HTTPClient)
  • srv (Service)
  • path (str)
  • **kwargs
  • param kwargs: Keyword arguments for the proxy_http_get function.
Returns (Response)

The response data.

function

pytest_helm_charts.utils.proxy_http_put(client, srv, path, **kwargs)

Issue a PUT request to proxy of a Service.

Parameters
  • client (HTTPClient)
  • srv (Service)
  • path (str)
  • **kwargs
  • param kwargs: Keyword arguments for the proxy_http_get function.
Returns (Response)

The response data.

function

pytest_helm_charts.utils.proxy_http_delete(client, srv, path, **kwargs)

Issue a DELETE request to proxy of a Service.

Parameters
  • client (HTTPClient)
  • srv (Service)
  • path (str)
  • **kwargs
  • param kwargs: Keyword arguments for the proxy_http_get function.
Returns (Response)

The response data.