mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
16 lines
325 B
Python
16 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"
|