#NEWLINE# def test_create_other_options( self ) : #NEWLINE# #INDENT# arglist = [ '--enable' , '--no-share' , self . _network . name ] #NEWLINE# verifylist = [ ( 'enable' , True ) , ( 'no_share' , True ) , ( 'name' , self . _network . name ) , ( 'external' , False ) ] #NEWLINE# parsed_args = self . check_parser ( self . cmd , arglist , verifylist ) #NEWLINE# ( columns , data ) = self . cmd . take_action ( parsed_args ) #NEWLINE# self . network . create_network . assert_called_once_with ( ** { #NEWLINE# #INDENT# 'admin_state_up' : True , #NEWLINE# 'name' : self . _network . name , #NEWLINE# 'shared' : False , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( self . columns , self ) #NEWLINE# self . assertEqual ( self . data , data )