From: Petr Viktorin Date: Sat, 12 Mar 2011 15:30:15 +0000 (+0200) Subject: Actually test :foo in test_crash_empty_prefix X-Git-Tag: veekun-promotions/2011041101~35^2~5 X-Git-Url: http://git.veekun.com/zzz-pokedex.git/commitdiff_plain/cf413a7775109afcd8e94252aee33ed28dc46b32 Actually test :foo in test_crash_empty_prefix --- diff --git a/pokedex/tests/test_lookup.py b/pokedex/tests/test_lookup.py index a5c30c4..5d9ff95 100644 --- a/pokedex/tests/test_lookup.py +++ b/pokedex/tests/test_lookup.py @@ -150,5 +150,5 @@ def test_random_lookup(): def test_crash_empty_prefix(): """Searching for ':foo' used to crash, augh!""" - results = lookup.lookup(u'Eevee') + results = lookup.lookup(u':Eevee') assert_equal(results[0].object.name, u'Eevee', u'Empty prefix dun crash')