python-heatclient/heatclient/tests
Steve Baker 79dea076db Do not paginate stack list unless page_size is set
Pagination on the server has not yet been implemented, however
the client assumes it is, causing infinite recursion when paginate
is called.

With this change, no pagination is attempted unless page_size is
specified. However the 'limit' parameter is still honored, so it
is still possible to cap the total number of results returned.

heatclient users should not set page_size until pagination has been
implemented on the server. The stack list in Horizon currently
does not attempt to paginate, so is not affected.

Fixes: bug #1207839
Change-Id: I4087d3a8af48206d6ebe3edc441469464e4a401a
2013-08-07 12:56:58 +12:00
..
v1 Move tests into package dir. 2013-05-25 08:45:35 +02:00
var Move tests into package dir. 2013-05-25 08:45:35 +02:00
__init__.py Move tests into package dir. 2013-05-25 08:45:35 +02:00
fakes.py Do not paginate stack list unless page_size is set 2013-08-07 12:56:58 +12:00
test_common_http.py Sync with global requirements 2013-08-05 18:43:13 -03:00
test_shell.py Do not paginate stack list unless page_size is set 2013-08-07 12:56:58 +12:00
test_stacks.py Do not paginate stack list unless page_size is set 2013-08-07 12:56:58 +12:00
test_utils.py Make the parameter checking consistent. 2013-07-16 12:24:35 +10:00