def test_success(self):

        data = {
            "name": "Arthur, King of the Britons",
            "quest": "To seek the Holy Grail",
            "air-speed velocity of unladen swallow": "An African or a European swallow?",
            }

        @nice_json
        def success_function():
            return data

        response = success_function()

        self.assertEqual(
            {'data': data, 'status': 200, 'error': None},
            response.json)

        self.assertEqual(200, response.status_code)
Test that if the decorated function does not throw an exception,
dataset/ETHPy150Open Jwpe/Flask-Nicely/tests/test_flask_nicely.py/TestFlaskNicely.test_success