mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Fixed lookup tests to, um, run.
This commit is contained in:
parent
d995942b4f
commit
82e797c6d0
3 changed files with 20 additions and 22 deletions
pokedex
|
@ -143,7 +143,7 @@ class PokedexLookup(object):
|
|||
# especially when e.g. German names are very similar to English names
|
||||
speller_entries = []
|
||||
for cls in self.indexed_tables.values():
|
||||
q = session.query(cls)
|
||||
q = self.session.query(cls)
|
||||
|
||||
for row in q.yield_per(5):
|
||||
row_key = dict(table=unicode(cls.__tablename__),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue