#NEWLINE# def test_set_vif_host_backend_802qbh_config_hostdev( self ) : #NEWLINE# #INDENT# conf = config . LibvirtConfigGuestInterface ( ) #NEWLINE# designer . set_vif_host_backend_802qbh_config ( self , 'hostdev' , 'fake-devname' , 'fake-profileid' , 'fake-tap' ) #NEWLINE# self . assertEqual ( 'hostdev' , conf . net_type ) #NEWLINE# self . assertEqual ( 'fake-devname' , conf . source_dev ) #NEWLINE# self . assertIsNone ( conf . model ) #NEWLINE# self . assertEqual ( '802.1Qbh' , conf . vporttype ) #NEWLINE# self . assertEqual ( 'fake-tap' , conf . target_dev )