#NEWLINE# def test_get_instance_id_router_id_no_match( self ) : #NEWLINE# #INDENT# router_id = 'the_id' #NEWLINE# headers = { #NEWLINE# #INDENT# 'X-Neutron-Router-ID' : router_id , #NEWLINE# #UNINDENT# } #NEWLINE# networks = ( 'net1' , 'net2' ) #NEWLINE# ports = [ [ { #NEWLINE# #INDENT# 'network_id' : 'net1' , #NEWLINE# #UNINDENT# } , { #NEWLINE# #INDENT# 'network_id' : 'net2' , #NEWLINE# #UNINDENT# } ] , [ ] ] #NEWLINE# self . assertEqual ( self . _get_instance_and_tenant_id_helper ( headers , ports , networks = networks , router_id = router_id ) , ( None , None ) )