sanic/tests
Eli Uriegas 56ecb6a3ea Inject app into request object
Allows for injection of the app object into the request object through
the request handler.

This allows for users to setup things like database connections etc. in
listeners and then utilize them throughout the their various route
handlers.

Usage is fairly simple like so:
```python
@app.get('/')
async def handler(request):
    request.app.anything
```

Name is up in the air but I'll leave this up for a few days and I'll
change it if we get a consensus
2017-02-22 11:34:14 -06:00
..
performance Make golang performance test return JSON instead of string 2016-12-24 10:28:34 +01:00
static Fixes errors related to #378 2017-02-08 19:59:34 -06:00
test_bad_request.py Use app decorator instead of run arguments for before_start 2017-02-11 14:30:17 +00:00
test_blueprints.py rework testing 2017-02-14 14:51:20 -05:00
test_config.py added tests and small fixes for config 2016-12-16 18:46:07 +01:00
test_cookies.py rework testing 2017-02-14 14:51:20 -05:00
test_create_task.py fix merge conflicts 2017-02-13 14:19:44 -08:00
test_custom_protocol.py rework testing 2017-02-14 14:51:20 -05:00
test_dynamic_routes.py rework testing 2017-02-14 14:51:20 -05:00
test_exceptions_handler.py rework testing 2017-02-14 14:51:20 -05:00
test_exceptions.py rework testing 2017-02-14 14:51:20 -05:00
test_logging.py rework testing 2017-02-14 14:51:20 -05:00
test_middleware.py rework testing 2017-02-14 14:51:20 -05:00
test_multiprocessing.py rework testing 2017-02-14 14:51:20 -05:00
test_payload_too_large.py rework testing 2017-02-14 14:51:20 -05:00
test_redirect.py rework testing 2017-02-14 14:51:20 -05:00
test_request_data.py Inject app into request object 2017-02-22 11:34:14 -06:00
test_request_timeout.py rework testing 2017-02-14 14:51:20 -05:00
test_requests.py rework testing 2017-02-14 14:51:20 -05:00
test_response.py rework testing 2017-02-14 14:51:20 -05:00
test_routes.py route logic for trailing slash 2017-02-20 16:11:28 -08:00
test_server_events.py rework testing 2017-02-14 14:51:20 -05:00
test_signal_handlers.py rework testing 2017-02-14 14:51:20 -05:00
test_static.py rework testing 2017-02-14 14:51:20 -05:00
test_url_building.py rework testing 2017-02-14 14:51:20 -05:00
test_utf8.py rework testing 2017-02-14 14:51:20 -05:00
test_vhosts.py allow default vhost 2017-02-20 16:52:36 -08:00
test_views.py rework testing 2017-02-14 14:51:20 -05:00