def test_abort():

    code, response = abort(404)
    assert code == 404
    assert 'errors' in response
    assert response['errors'][0]['message'] == '404 Not Found'
Expect to return a standard fail status.
dataset/ETHPy150Open heiskr/sagefy/server/test/test_framework_routes.py/test_abort