#NEWLINE# def test_create_subnet_max_v4_cidr( self ) : #NEWLINE# #INDENT# resource = 'subnet' #NEWLINE# cmd = subnet . CreateSubnet ( test_cli20 . MyApp ( sys . stdout ) , None ) #NEWLINE# name = 'myname' #NEWLINE# myid = 'myid' #NEWLINE# netid = 'netid' #NEWLINE# cidr = '192.168.0.1/32' #NEWLINE# gateway = 'gatewayvalue' #NEWLINE# args = [ '--gateway' , gateway , netid , cidr ] #NEWLINE# position_names = [ 'ip_version' , 'network_id' , 'cidr' , 'gateway_ip' ] #NEWLINE# position_values = [ 4 , netid , cidr , gateway ] #NEWLINE# self . mox . StubOutWithMock ( cmd . log , 'warning' ) #NEWLINE# cmd . log . warning ( mox . IgnoreArg ( ) ) #NEWLINE# self . _test_create_resource ( resource , myid , name , myid , args , position_names , position_values ) #NEWLINE# self . mox . VerifyAll ( ) #NEWLINE# self . mox . UnsetStubs ( )