def test_crash_empty_prefix(lookup):
 results = lookup.lookup(u':Eevee')
 assert (results[0].object.name == u'Eevee')

def test_crash_empty_prefix ( lookup ) : results = lookup . lookup ( u':Eevee' ) assert ( results [ 0 ] . object . name == u'Eevee' )
searching for :foo used to crash .