#NEWLINE# def test_spec_match( self ) : #NEWLINE# #INDENT# pci_info = { #NEWLINE# #INDENT# 'vendor_id' : '8086' , #NEWLINE# 'address' : '*: *: *.5' , #NEWLINE# 'product_id' : '5057' , #NEWLINE# 'physical_network' : 'hr_net' , #NEWLINE# #UNINDENT# } #NEWLINE# pci = devspec . PciDeviceSpec ( pci_info ) #NEWLINE# self . assertTrue ( pci . match ( dev ) )