bugfix: pagination raise exception when no records returned 65/37765/1
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Wed, 19 Jul 2017 09:18:44 +0000 (17:18 +0800)
committerSerenaFeng <feng.xiaowei@zte.com.cn>
Wed, 19 Jul 2017 09:25:25 +0000 (17:25 +0800)
commit1e439d76e4d3b87a0385a5cb47a9d1509d1e419f
tree539b1d4c3401355220efc8f92115256a67c00411
parentf4077629308e7374d9e92923af996cf7bf79678c
bugfix: pagination raise exception when no records returned

if no records returned, it will raise 'Request page > total_pages'
error. this patch is submitted to fix this

JIRA: RELENG-281

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