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. #216
This commit is contained in:
parent
cb2bfa3032
commit
79df4768bf
3 changed files with 57 additions and 34 deletions
pokedex/tests
|
@ -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 = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue