bugfix: Exception when the results is empty 13/36613/3
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Wed, 28 Jun 2017 03:22:59 +0000 (11:22 +0800)
committerSerenaFeng <feng.xiaowei@zte.com.cn>
Wed, 28 Jun 2017 06:05:13 +0000 (14:05 +0800)
commita42e6289c90531df6a45293411ae353cd1e251f6
tree37bb22c82324ea51734b922dc453f672f3e834eb
parentfe167ee5b7cb84897c06fdc7a8b20342defff9bf
bugfix: Exception when the results is empty

list operation crash when limit is not provided, error message:
OperationFailure: the limit must be positive

JIRA: RELENG-265

Change-Id: Id8db93b594010d054a71d301d9c42eed113c12e1
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
utils/test/testapi/opnfv_testapi/resources/handlers.py