#NEWLINE# def test_get_instance_id_network_id( self ) : #NEWLINE# #INDENT# network_id = 'the_id' #NEWLINE# headers = { #NEWLINE# #INDENT# 'X-Neutron-Network-ID' : network_id , #NEWLINE# #UNINDENT# } #NEWLINE# ports = [ [ { #NEWLINE# #INDENT# 'device_id' : 'device_id' , #NEWLINE# 'tenant_id' : 'tenant_id' , #NEWLINE# 'network_id' : 'the_id' , #NEWLINE# #UNINDENT# } ] ] #NEWLINE# self . assertEqual ( self . _get_instance_and_tenant_id_helper ( self , ports , networks = ( 'the_id' , ) ) , ( 'device_id' , 'tenant_id' ) )