projects
/
zzz-pokedex.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Random lookup algorithm is now more naive, but less broken.
[zzz-pokedex.git]
/
pokedex
/
tests
/
test_lookup.py
diff --git
a/pokedex/tests/test_lookup.py
b/pokedex/tests/test_lookup.py
index
a5c30c4
..
5d9ff95
100644
(file)
--- 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')