mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
9e3d8b317d
Test suite no longer reloads the entire database. Takes too long. Factored out some magic numbers in lookup().
14 lines
262 B
Python
14 lines
262 B
Python
import unittest
|
|
|
|
from pokedex.lookup import open_index
|
|
from pokedex.db import connect
|
|
from pokedex.db.load import load
|
|
|
|
def setup():
|
|
# Reload data just in case
|
|
session = connect()
|
|
open_index(session=session, recreate=True)
|
|
|
|
|
|
def teardown():
|
|
pass
|