#NEWLINE# def test_region_create_no_options( self ) : #NEWLINE# #INDENT# arglist = [ identity_fakes . region_id ] #NEWLINE# verifylist = [ ( 'region' , identity_fakes . region_id ) ] #NEWLINE# parsed_args = self . check_parser ( self . cmd , arglist , verifylist ) #NEWLINE# ( columns , data ) = self . cmd . take_action ( parsed_args ) #NEWLINE# kwargs = { #NEWLINE# #INDENT# 'description' : None , #NEWLINE# 'id' : identity_fakes . region_id , #NEWLINE# 'parent_region' : None , #NEWLINE# #UNINDENT# } #NEWLINE# self . regions_mock . create . assert_called_with ( ** kwargs ) #NEWLINE# self . assertEqual ( data . columns , columns ) #NEWLINE# self . assertEqual ( self . datalist , data )