Add/fix unit test(s) to check HTTP status codes for invalid lookups #691
Labels
Experience: Backend
good first issue
A good issue for anyone new to open source to work on
hacktoberfest
Good issue for someone to work on for Hacktoberfest
help wanted
We'd love to have help working on this issue
Type: Maintenance
Description
Bug #690 resulted from a invalid
language_name
/friendly_language_name
mixup that would result in 500 server errors. The unit test that seem to check for invalid language/structures didn't catch this.This issue should add new unit test(s) or fix the existing unit test(s) to make this more robust.
Requirements
Additional Notes
This need to be tested locally to ensure they work:
python manage.py test
should run all unit testspython manage.py validatelanginfofiles
should run tests on the language filespython manage.py validatemetainfofile
should run tests on the meta info fileWhile they'll be run when a pull request is made, making sure they run and pass locally first will speed things up.
The text was updated successfully, but these errors were encountered: