Flask App, Gunicorn and Nosetests, help requested.

The blog is currently being ported from WordPress to over 12 years of static pages of content. If there's an article missing that you're hoping to see, please contact me and let me know and I'll prioritize getting it online.

September 19, 2013


I have a Flask app that’s successfully accepting POST/PUT data via JSON input (tested through curl while gunicorn is running) but running nosetests is failing. (okay, technically I’m using Flask-Restful too…)

I’m curious if there’s a better way to debug this than tons of logging/printing, etc. I’ve been using PyCharm for development but its debugger doesn’t seem to actually run any of the tests. I can go into detail on anything that’s unclear but cannot post the project publicly.

In the end, I got some help from my colleague, Miguel Grinberg.