#NEWLINE# def test_port_update_with_vnic_physical_direct( self ) : #NEWLINE# #INDENT# port = self . _create_fake_port ( ) #NEWLINE# port [ portbindings . VNIC_TYPE ] = portbindings . VNIC_DIRECT_PHYSICAL #NEWLINE# kwargs = { #NEWLINE# #INDENT# 'context' : self . context , #NEWLINE# 'port' : port , #NEWLINE# #UNINDENT# } #NEWLINE# self . sriov_rpc_callback . port_update ( ** kwargs ) #NEWLINE# self . assertEqual ( set ( ) , self . agent . updated_devices )