We are currently using [a lib](https://pypi.org/project/Flask-Testing/) which is not anymore maintained for our flask testing. Refactoring need to be performed to use the internal testing way: https://flask.palletsprojects.com/en/1.1.x/testing/