projects
/
zzz-pokedex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
065e4d7
)
Actually test :foo in test_crash_empty_prefix
author
Petr Viktorin
<encukou@gmail.com>
Sat, 12 Mar 2011 15:30:15 +0000
(17:30 +0200)
committer
Eevee
<git@veekun.com>
Sun, 13 Mar 2011 22:43:01 +0000
(15:43 -0700)
pokedex/tests/test_lookup.py
patch
|
blob
|
history
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')