How to apply integration tests to a Flask RESTful API
How to apply integration tests to a Flask RESTful API Question: [As per https://stackoverflow.com/a/46369945/1021819, the title should refer to integration tests rather than unit tests] Suppose I’d like to test the following Flask API (from here): import flask import flask_restful app = flask.Flask(__name__) api = flask_restful.Api(app) class HelloWorld(flask_restful.Resource): def get(self): return {‘hello’: ‘world’} api.add_resource(HelloWorld, ‘/’) …