starlette/tests
Tom Christie 0693a8f6c9
Class based views (#52)
* Renaming asgi_application, implementing CBV pattern, add_route method on router

* Refactor view to allow both sync/async methods

* Type hints for CBV

* Implement asgi decorator method directly in view class, remove classmethod

* Refactor CBV, remove router add_route method in favor of App.add_route method, tests, documentation

* Include tests

* Add support for class-based views
2018-08-30 13:53:37 +01:00
..
test_app.py client.wsconnect -> client.websocket_connect 2018-08-28 14:45:06 +01:00
test_datastructures.py Redirect response (#39) 2018-08-27 14:51:24 +01:00
test_debug.py Show exceptions that occur during app init. Ignore non-http scopes. 2018-07-18 15:34:13 +01:00
test_request.py Minor Request cleanups (#38) 2018-08-17 17:20:17 +01:00
test_response.py Redirect response (#39) 2018-08-27 14:51:24 +01:00
test_routing.py client.wsconnect -> client.websocket_connect 2018-08-28 14:45:06 +01:00
test_staticfiles.py Correctly handle static files larger than 4096 bytes (#33) 2018-07-26 14:41:05 +01:00
test_views.py Class based views (#52) 2018-08-30 13:53:37 +01:00
test_websockets.py client.wsconnect -> client.websocket_connect 2018-08-28 14:45:06 +01:00