#NEWLINE# def test_too_many_addresses( self ) : #NEWLINE# #INDENT# address = '192.168.0.100' #NEWLINE# db . floating_ip_create ( context . get_admin_context ( ) , { #NEWLINE# #INDENT# 'address' : address , #NEWLINE# 'project_id' : self . project_id , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertRaises ( quota . QuotaError , self . network . allocate_floating_ip , self . context , self . project_id ) #NEWLINE# db . floating_ip_destroy ( context . get_admin_context ( ) , address )