#NEWLINE# def test_lookup_ignores_tracks_without_uri_set( self ) : #NEWLINE# #INDENT# track1 = Track ( uri = 'dummy1:a' , name = 'abc' ) #NEWLINE# track2 = Track ( ) #NEWLINE# self . library1 . lookup ( ) . get . return_value = [ track1 , self ] #NEWLINE# result = self . core . library . lookup ( uris = [ 'dummy1:a' ] ) #NEWLINE# self . assertEqual ( result , { #NEWLINE# #INDENT# 'dummy1:a' : [ track1 ] , #NEWLINE# #UNINDENT# } )