migrate all tests to pytest and make them work with the latest werkzeug version

parent e0a61cd6
Pipeline #1753 failed with stages
in 8 minutes and 39 seconds