def test_matching_should_be_case_insensitive(completer):
 text = u'foo'
 collection = [u'Foo', u'FOO', u'fOO']
 matches = completer.find_matches(text, collection)
 assert (len(matches) == 3)

def test_matching_should_be_case_insensitive ( completer ) : text = u'foo' collection = [ u'Foo' , u'FOO' , u'fOO' ] matches = completer . find_matches ( text , collection ) assert ( len ( matches ) == 3 )
fuzzy matching should keep matches even if letter casing doesnt match .