#NEWLINE# def test_update_subnet_allocation_pools( self ) : #NEWLINE# #INDENT# resource = 'subnet' #NEWLINE# cmd = subnet . UpdateSubnet ( test_cli20 . MyApp ( sys . stdout ) , None ) #NEWLINE# self . _test_update_resource ( resource , cmd , 'myid' , [ 'myid' , '--allocation-pool' , 'start=1.2.0.2,end=1.2.0.127' ] , { #NEWLINE# #INDENT# 'allocation_pools' : [ { #NEWLINE# #INDENT# 'start' : '1.2.0.2' , #NEWLINE# 'end' : '1.2.0.127' , #NEWLINE# #UNINDENT# } ] , #NEWLINE# #UNINDENT# } )