#NEWLINE# def test_translate_floating_ip_view_dict( self ) : #NEWLINE# #INDENT# floating_ip = { #NEWLINE# #INDENT# 'id' : 0 , #NEWLINE# 'address' : '10.0.0.10' , #NEWLINE# 'fixed_ip' : None , #NEWLINE# #UNINDENT# } #NEWLINE# view = _translate_floating_ip_view ( floating_ip ) #NEWLINE# self . assertTrue ( ( 'floating_ip' in view ) )