#NEWLINE# def test_set_vif_host_backend_bridge_config( self ) : #NEWLINE# #INDENT# conf = config . LibvirtConfigGuestInterface ( ) #NEWLINE# designer . set_vif_host_backend_bridge_config ( conf , 'fake-bridge' , 'fake-tap' ) #NEWLINE# self . assertEqual ( 'bridge' , conf . net_type ) #NEWLINE# self . assertEqual ( 'fake-bridge' , conf . source_dev ) #NEWLINE# self . assertEqual ( 'fake-tap' , conf . target_dev )