def test_ranking_ignores_identifier_quotes(completer):
 text = u'user'
 collection = [u'user_action', u'"user"']
 matches = completer.find_matches(text, collection)
 assert (len(matches) == 2)

def test_ranking_ignores_identifier_quotes ( completer ) : text = u'user' collection = [ u'user_action' , u'"user"' ] matches = completer . find_matches ( text , collection ) assert ( len ( matches ) == 2 )
when calculating result rank .