projects
/
zzz-pokedex.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Expand some string limits so links with identifiers can fit
[zzz-pokedex.git]
/
pokedex
/
tests
/
test_lookup.py
diff --git
a/pokedex/tests/test_lookup.py
b/pokedex/tests/test_lookup.py
index
36f11a1
..
5d9ff95
100644
(file)
--- a/
pokedex/tests/test_lookup.py
+++ b/
pokedex/tests/test_lookup.py
@@
-28,7
+28,8
@@
def test_exact_lookup():
# Forms
(u'Rotom', 'pokemon', 479),
# Forms
(u'Rotom', 'pokemon', 479),
- (u'Wash Rotom', 'pokemon', 504),
+ (u'Wash Rotom', 'pokemon_forms',10059),
+ (u'East Shellos', 'pokemon_forms',10039),
# Other languages
(u'イーブイ', 'pokemon', 133),
# Other languages
(u'イーブイ', 'pokemon', 133),
@@
-149,5
+150,5
@@
def test_random_lookup():
def test_crash_empty_prefix():
"""Searching for ':foo' used to crash, augh!"""
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')
assert_equal(results[0].object.name, u'Eevee', u'Empty prefix dun crash')