steps.api.then_cloud

Attributes

PAGINATION_RESULT_KEYS

Functions

check_not_page_result(context)

Check that the response is not in pagination format.

Module Contents

steps.api.then_cloud.PAGINATION_RESULT_KEYS = ['content', 'currentPage', 'totalElements', 'totalPages'][source]
steps.api.then_cloud.check_not_page_result(context)[source]

Check that the response is not in pagination format.

Verifies that the response doesn’t contain the standard pagination fields (content, currentPage, totalElements, totalPages).

Parameters:

context – The Behave context

Raises:

AssertionError – If the response has the standard pagination format