1
0
Fork 0
mirror of https://github.com/veekun/pokedex.git synced 2024-08-20 18:16:34 +00:00

Split PokedexLookup(recreate=True) into its own method.

This commit is contained in:
Eevee 2010-05-12 22:36:12 -07:00
parent cb2bfa3032
commit 79df4768bf
3 changed files with 57 additions and 34 deletions
pokedex/tests

View file

@ -9,7 +9,8 @@ lookup = None
def setup():
# Recreate data
global lookup
lookup = PokedexLookup(recreate=True)
lookup = PokedexLookup()
lookup.rebuild_index()
def test_exact_lookup():
tests = [