All code provided by a third party that is intended to be run in a production environment should be adequately tested.
Testing is generally split between two distinct styles:
- Unit tests can be set to run automatically against pull requests in GitHub using CI.
- Functional tests can be set to run automatically on deployment and run in multiple browsers.
- Backend code should be unit tested. For Python we suggest using pytest.