#NEWLINE# def test_floating_ip_show( self ) : #NEWLINE# #INDENT# req = webob . Request . blank ( '/v1.1/123/os-floating-ips/1' ) #NEWLINE# res = req . get_response ( fakes . wsgi_app ( ) ) #NEWLINE# self . assertEqual ( res . status_int , 200 ) #NEWLINE# res_dict = json . loads ( res . body ) #NEWLINE# self . assertEqual ( res_dict [ 'floating_ip' ] [ 'id' ] , 1 ) #NEWLINE# self . assertEqual ( res_dict [ 'floating_ip' ] [ 'ip' ] , '10.10.10.10' ) #NEWLINE# self . assertEqual ( res_dict [ 'floating_ip' ] [ 'instance_id' ] , None )