veekun_pokedex/pokedex/tests
Petr Viktorin 928eaca4a4 Make bad links in Markdown not fail
Links such as []{pokemon:mewthree} can come from users, so they should not
crash the parser.
So, when an object is not found (or more than one is found), call
identifier_url() directly, instead of failing to get the object for
object_url(). Essentially, treat the link as having an unknown category
(like mechanic:, currently).

The test that check the pokédex descriptions updated so that only
links to known objects and "mechanic:" are allowed.
2011-09-22 00:51:59 +03:00
..
__init__.py Switch to py.test #604 2011-05-06 12:40:44 +03:00
test_database_sanity.py Add a sanity check for PokemonForm.order 2011-09-05 11:20:16 +03:00
test_lookup.py Switch to py.test #604 2011-05-06 12:40:44 +03:00
test_media.py Switch to py.test #604 2011-05-06 12:40:44 +03:00
test_roomaji.py Switch to py.test #604 2011-05-06 12:40:44 +03:00
test_schema.py Switch to py.test #604 2011-05-06 12:40:44 +03:00
test_strings.py Make bad links in Markdown not fail 2011-09-22 00:51:59 +03:00
test_translations.py Switch to py.test #604 2011-05-06 12:40:44 +03:00
test_util.py Switch to py.test #604 2011-05-06 12:40:44 +03:00