veekun_pokedex/pokedex/tests
Andrew Ekstedt ad429ab128 Fix Roserade's Central Kalos dex number and add tests
Roserade and Roselia were mistakenly sharing dex number 72. Presumably
an error from the original X/Y spreadsheet. I guess we never reripped
these after 3DS rom dumping became possible.

Regardless of how it happened, add a test and some database constraints
to ensure that it doesn't happen again.

- Add a test for gaps in pokedex numbers

- Add uniqueness constraints to pokemon_dex_numbers.  A species can
  only appear once per pokedex, and a number cannot be used more than
  once per pokedex.
2019-07-16 18:12:58 -07:00
..
__init__.py Modernize our use of py.test 2014-07-06 21:45:05 -07:00
test_database_sanity.py Fix Roserade's Central Kalos dex number and add tests 2019-07-16 18:12:58 -07:00
test_docs.py Add a test for main-tables.rst 2012-06-10 15:46:50 -07:00
test_lookup.py Fix tests, since Farfetch’d got a name change 2017-09-04 10:04:23 -07:00
test_media.py Compat with Python 3.3+ 2015-10-05 08:12:23 -07:00
test_roomaji.py Modernize our use of py.test 2014-07-06 21:45:05 -07:00
test_schema.py Relax test for nullability of translation columns 2018-09-29 10:12:10 -07:00
test_strings.py Squash a bunch of "non-unicode bind param" warnings 2018-03-30 12:14:55 -07:00
test_translations.py Compat with Python 3.3+ 2015-10-05 08:12:23 -07:00
test_util.py Squash a bunch of "non-unicode bind param" warnings 2018-03-30 12:14:55 -07:00