#NEWLINE# def test_list_router_types_limit( self ) : #NEWLINE# #INDENT# 'list routertypes: -P.' #NEWLINE# resources = 'routertypes' #NEWLINE# cmd = routertype . RouterTypeList ( test_cli20 . MyApp ( sys . stdout ) , None ) #NEWLINE# response_contents = [ { #NEWLINE# #INDENT# self . id_field : 'myid1' , #NEWLINE# 'name' : 'router_type_1_name' , #NEWLINE# 'description' : 'fast router' , #NEWLINE# 'template_id' : 'templ_id_1' , #NEWLINE# #UNINDENT# } , { #NEWLINE# #INDENT# self . id_field : 'myid2' , #NEWLINE# 'name' : 'router_type_2_name' , #NEWLINE# 'description' : 'faster router' , #NEWLINE# 'template_id' : 'templ_id_2' , #NEWLINE# #UNINDENT# } ] #NEWLINE# self . _test_list_resources ( resources , cmd , page_size = 1000 , response_contents = response_contents )