#NEWLINE# def test_backend_returns_iterable_containing_wrong_types( self , logger ) : #NEWLINE# #INDENT# uri = 'dummy:/1' #NEWLINE# self . library . lookup . return_value . get . return_value = [ 123 ] #NEWLINE# self . assertEqual ( { #NEWLINE# #INDENT# uri : [ ] , #NEWLINE# #UNINDENT# } , self . core . library . lookup ( uris = [ self ] ) ) #NEWLINE# logger . error . assert_called_with ( mock . ANY , 'DummyBackend' , mock . ANY )