Actually test :foo in test_crash_empty_prefix
authorPetr Viktorin <encukou@gmail.com>
Sat, 12 Mar 2011 15:30:15 +0000 (17:30 +0200)
committerEevee <git@veekun.com>
Sun, 13 Mar 2011 22:43:01 +0000 (15:43 -0700)
pokedex/tests/test_lookup.py

index a5c30c4..5d9ff95 100644 (file)
@@ -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')