veekun_pokedex/pokedex/tests/__init__.py
2009-08-23 20:43:39 -07:00

15 lines
325 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()
load(session, verbose=False, drop_tables=True)
open_index(session=session, recreate=True)
def teardown():
print "teardown"