Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide a quick reference to the Flask app on functional tests
Wrap the webtest.TestApp in a class that provides a flask_app property so it can be used like this: app = self._get_test_app() with app.flask_app.test_request_context(): offset = url_for(...
- Loading branch information