Testing Flask web app with unittest POST Error 500
(From my comment above): when testing, you should set app.config['DEBUG'] = True
and app.config['TESTING'] = True
.
(From my comment above): when testing, you should set app.config['DEBUG'] = True
and app.config['TESTING'] = True
.