mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
928eaca4a4
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. |
||
---|---|---|
.. | ||
__init__.py | ||
test_database_sanity.py | ||
test_lookup.py | ||
test_media.py | ||
test_roomaji.py | ||
test_schema.py | ||
test_strings.py | ||
test_translations.py | ||
test_util.py |