def test_no_exception(exception_app):
 (request, response) = sanic_endpoint_test(exception_app)
 assert (response.status == 200)
 assert (response.text == 'OK')

def test_no_exception ( exception_app ) : ( request , response ) = sanic_endpoint_test ( exception_app ) assert ( response . status == 200 ) assert ( response . text == 'OK' )
test that a route works without an exception .