starlette/tests
Tom Christie 139753f857
Add support for `app.on_event("startup")` and `app.on_event("cleanup")`. (#98)
* Push black linting into ./scripts/test Fix some annotations etc.

* Skip black on 3.7

* Fix script

* Blergh. Shell equality tests are weird

* Attempt to fix equality check

* Document 'allow_origin_regex'

* Support app.on_event('startup') and app.on_event('cleanup')

* Nicer decorator handling for on_event

* Add documentation for app.on_event()
2018-10-09 15:47:51 +01:00
..
test_applications.py Middleware (#82) 2018-10-05 12:04:11 +01:00
test_background.py Update background task tests 2018-10-02 12:29:44 +01:00
test_datastructures.py Tweaks to URL datastructure (#81) 2018-10-05 11:29:06 +01:00
test_debug.py Missing annotations debug module (#68) 2018-09-28 10:41:22 +01:00
test_endpoints.py Class-based websocket handler (#62) 2018-10-02 11:26:19 +01:00
test_exceptions.py Name changes (#55) 2018-09-05 10:29:04 +01:00
test_lifespan.py Add support for `app.on_event("startup")` and `app.on_event("cleanup")`. (#98) 2018-10-09 15:47:51 +01:00
test_middleware.py Don't partially enforce CORS server-side (#93) 2018-10-09 10:07:51 +01:00
test_requests.py Cookies (#86) 2018-10-06 13:08:16 +01:00
test_responses.py Cookies (#86) 2018-10-06 13:08:16 +01:00
test_routing.py Name changes (#55) 2018-09-05 10:29:04 +01:00
test_staticfiles.py Add support for `app.on_event("startup")` and `app.on_event("cleanup")`. (#98) 2018-10-09 15:47:51 +01:00
test_websockets.py Tweaks to URL datastructure (#81) 2018-10-05 11:29:06 +01:00