veekun_pokedex/pokedex/tests/__init__.py
Eevee 9e3d8b317d Wildcard lookup! #89
Test suite no longer reloads the entire database.  Takes too long.

Factored out some magic numbers in lookup().
2009-08-24 22:04:55 -07:00

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