#NEWLINE# def test_unsupported_vnic_type_and_vendor_info( self ) : #NEWLINE# #INDENT# 'Verifies unsupported pci vendor is rejected.' #NEWLINE# port_context = self . _create_port_context_bad ( ) #NEWLINE# vnic_type = port_context . current . get ( portbindings . VNIC_TYPE , portbindings . VNIC_NORMAL ) #NEWLINE# profile = port_context . current . get ( portbindings . PROFILE , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# supported = self . ucsm_driver . check_vnic_type_and_vendor_info ( vnic_type , profile ) #NEWLINE# self . assertFalse ( profile )