Make the rest of the tests pass.

This commit is contained in:
Lynn "Zhorken" Vaughan 2013-11-09 03:49:09 -05:00
parent 7f22ad2c86
commit 5ec50ea26c
3 changed files with 5 additions and 4 deletions

View file

@ -150,6 +150,7 @@ Association tables
.. dex-table:: NatureBattleStylePreference
.. dex-table:: NaturePokeathlonStat
.. dex-table:: PokeathlonStat
.. dex-table:: PokedexVersionGroup
.. dex-table:: PokemonAbility
.. dex-table:: PokemonEggGroup
.. dex-table:: PokemonFormPokeathlonStat

View file

@ -1512,7 +1512,7 @@ class PokedexVersionGroup(TableBase):
pokedex_id = Column(Integer, ForeignKey('pokedexes.id'), primary_key=True,
info=dict(description=u'The ID of the Pokédex.'))
version_group_id = Column(Integer, ForeignKey('version_groups.id'), primary_key=True,
info=dict(descruption=u'The ID of the version group.'))
info=dict(description=u'The ID of the version group.'))
class Pokemon(TableBase):
u"""A Pokémon. The core to this whole mess.
@ -2102,7 +2102,7 @@ class VersionGroup(TableBase):
id = Column(Integer, primary_key=True, nullable=False,
info=dict(description=u"This version group's unique ID."))
identifier = Column(Unicode(20), nullable=False, unique=True,
info=dict(description=u"This version group's unique textual identifier."))
info=dict(description=u"This version group's unique textual identifier.", format='identifier'))
generation_id = Column(Integer, ForeignKey('generations.id'), nullable=False,
info=dict(description=u"The ID of the generation the games in this group belong to."))
order = Column(Integer, nullable=True,

View file

@ -21,8 +21,8 @@ lookup = PokedexLookup()
# Forms
(u'Rotom', 'pokemon_species', 479),
(u'Wash Rotom', 'pokemon_forms', 708),
(u'East Shellos', 'pokemon_forms', 688),
(u'Wash Rotom', 'pokemon_forms', 10059),
(u'East Shellos', 'pokemon_forms', 10039),
# Other languages
(u'イーブイ', 'pokemon_species', 133),