sanic/tests
Josh Bartlett 4d0a0a3570 Update app.event() to return context dict (#2088), and only fire for the specific requested event (#2826).
Also added support for passing conditions= and exclusive= arguments to app.event().
2023-09-23 22:59:44 +10:00
..
benchmark Perf improv (#2074) 2021-03-21 09:47:21 +02:00
certs Allow password to be passed to TLS context (#2719) 2023-03-20 12:34:36 +02:00
fake Simpler CLI targets (#2700) 2023-03-21 20:50:25 +02:00
http3 Stricter charset handling and escaping of request URLs (#2710) 2023-03-21 19:55:21 +02:00
performance Fix imports and isort to remove from Makefile deprecated options (#1891) 2020-07-07 16:13:03 +03:00
static Static dir 2075 (#2076) 2021-03-21 15:03:54 +02:00
typing Add custom typing to config and ctx (#2785) 2023-07-12 23:47:58 +03:00
worker v23.3 Deprecation Removal (#2717) 2023-03-26 15:24:08 +03:00
__init__.py HTTP/3 Support (#2378) 2022-06-27 11:19:26 +03:00
asyncmock.py HTTP/3 Support (#2378) 2022-06-27 11:19:26 +03:00
client.py HTTP/3 Support (#2378) 2022-06-27 11:19:26 +03:00
conftest.py Establish basic file browser and index fallback (#2662) 2023-02-05 15:09:04 +02:00
skip_test_custom_protocol.py Streaming Server (#1876) 2021-01-11 00:45:36 +02:00
test_app.py Add custom typing to config and ctx (#2785) 2023-07-12 23:47:58 +03:00
test_asgi.py Stricter charset handling and escaping of request URLs (#2710) 2023-03-21 19:55:21 +02:00
test_bad_request.py Sanic Server WorkerManager refactor (#2499) 2022-09-18 17:17:23 +03:00
test_base.py LTS v21.12 Deprecations (#2306) 2021-12-24 00:30:27 +02:00
test_blueprint_copy.py Adding allow route overwrite option in blueprint (#2716) 2023-07-07 14:56:42 +03:00
test_blueprint_group.py Add name prefixing to BP groups (#2727) 2023-07-05 19:31:25 +03:00
test_blueprints.py v23.3 Deprecation Removal (#2717) 2023-03-26 15:24:08 +03:00
test_cancellederror.py Better request cancel handling (#2513) 2022-09-19 16:04:09 +03:00
test_cli.py Simpler CLI targets (#2700) 2023-03-21 20:50:25 +02:00
test_coffee.py Allow fork in limited cases (#2624) 2022-12-15 11:49:26 +02:00
test_config.py Remove deprecated items (#2555) 2022-09-29 01:07:09 +03:00
test_constants.py Sanic Server WorkerManager refactor (#2499) 2022-09-18 17:17:23 +03:00
test_cookies.py Add convenience methods for cookie creation and deletion (#2706) 2023-03-21 11:25:35 +02:00
test_create_task.py Allow fork in limited cases (#2624) 2022-12-15 11:49:26 +02:00
test_custom_request.py HTTP/3 Support (#2378) 2022-06-27 11:19:26 +03:00
test_deprecation.py Add deprecation warning filter (#2546) 2022-09-18 18:54:35 +03:00
test_dynamic_routes.py Sanic Server WorkerManager refactor (#2499) 2022-09-18 17:17:23 +03:00
test_errorpages.py Set multiprocessing start method early (#2776) 2023-07-09 22:34:15 +03:00
test_exceptions_handler.py v23.3 Deprecation Removal (#2717) 2023-03-26 15:24:08 +03:00
test_exceptions.py v23.3 Deprecation Removal (#2717) 2023-03-26 15:24:08 +03:00
test_ext_integration.py Sanic Server WorkerManager refactor (#2499) 2022-09-18 17:17:23 +03:00
test_graceful_shutdown.py Sanic Server WorkerManager refactor (#2499) 2022-09-18 17:17:23 +03:00
test_handler_annotations.py Add convenience for annotated handlers (#2225) 2021-08-30 20:04:44 +03:00
test_handler.py Add signals before and after handler execution (#2540) 2022-09-15 15:49:21 +03:00
test_headers.py Nicer traceback formatting (#2667) 2023-03-06 21:24:12 +02:00
test_helpers.py Add custom request support to ASGI mode; fix a couple tests 2019-06-24 22:59:23 +03:00
test_http_alt_svc.py Sanic Server WorkerManager refactor (#2499) 2022-09-18 17:17:23 +03:00
test_http.py Stricter charset handling and escaping of request URLs (#2710) 2023-03-21 19:55:21 +02:00
test_init.py Sanic Server WorkerManager refactor (#2499) 2022-09-18 17:17:23 +03:00
test_json_decoding.py Add custom loads function (#2445) 2022-06-29 23:39:21 +03:00
test_json_encoding.py Fix Test Cases: test_http for Py3.9+, test_json_response_json for ujson 5.4.0+, and test_zero_downtime; Test Case Type Annotations (#2504) 2022-07-24 22:07:54 +03:00
test_keep_alive_timeout.py Run keep alive tests in loop to get available port (#2779) 2023-07-09 22:58:17 +03:00
test_late_adds.py Add convenience for dynamic changes to routing (#2704) 2023-03-19 15:40:58 +02:00
test_logging.py Allow fork in limited cases (#2624) 2022-12-15 11:49:26 +02:00
test_logo.py Sanic Server WorkerManager refactor (#2499) 2022-09-18 17:17:23 +03:00
test_middleware_priority.py Add priority to register_middleware method (#2636) 2022-12-19 19:14:46 +02:00
test_middleware.py Ensure middleware executes once per request timeout (#2615) 2022-12-07 23:07:17 +02:00
test_motd.py Sanic Server WorkerManager refactor (#2499) 2022-09-18 17:17:23 +03:00
test_multi_serve.py Sanic Server WorkerManager refactor (#2499) 2022-09-18 17:17:23 +03:00
test_multiprocessing.py v23.3 Deprecation Removal (#2717) 2023-03-26 15:24:08 +03:00
test_named_routes.py v2 AST router (#2133) 2021-06-21 15:10:26 +03:00
test_payload_too_large.py debug and working stage--squash 2021-02-08 12:18:29 +02:00
test_pipelining.py Sanic Server WorkerManager refactor (#2499) 2022-09-18 17:17:23 +03:00
test_prepare.py Fix test_fast when there's only one CPU (#2801) 2023-09-06 21:26:28 +03:00
test_redirect.py Prepare for v23.6 release (#2797) 2023-07-25 15:57:29 +03:00
test_reloader.py Add two new events on the reloader process (#2413) 2022-03-22 23:29:39 +02:00
test_request_cancel.py Release 22.6 (#2487) 2022-06-28 15:25:46 +03:00
test_request_data.py LTS v21.12 Deprecations (#2306) 2021-12-24 00:30:27 +02:00
test_request_stream.py Allow fork in limited cases (#2624) 2022-12-15 11:49:26 +02:00
test_request.py Add custom typing to config and ctx (#2785) 2023-07-12 23:47:58 +03:00
test_requests.py Add request.client_ip (#2790) 2023-07-13 23:01:02 +03:00
test_response_file.py Fix comparison from wrong formats with datetime objects (#2697) 2023-03-20 12:12:09 +02:00
test_response_json.py Fix JSONResponse default content type (#2737) 2023-04-09 22:23:21 +03:00
test_response_timeout.py Sanic Server WorkerManager refactor (#2499) 2022-09-18 17:17:23 +03:00
test_response.py Refactor test cases to improve unit test quality (#2796) 2023-09-07 15:26:56 +03:00
test_routes.py Refactor test cases to improve unit test quality (#2796) 2023-09-07 15:26:56 +03:00
test_server_events.py Sanic Server WorkerManager refactor (#2499) 2022-09-18 17:17:23 +03:00
test_server_loop.py Mergeback of 21.12.1 (#2358) 2022-01-06 12:40:52 +02:00
test_signal_handlers.py Add convenience method for exception reporting (#2792) 2023-07-18 00:21:55 +03:00
test_signals.py Update app.event() to return context dict (#2088), and only fire for the specific requested event (#2826). 2023-09-23 22:59:44 +10:00
test_static_directory.py Establish basic file browser and index fallback (#2662) 2023-02-05 15:09:04 +02:00
test_static.py Fix traversals for intended results (#2728) 2023-07-09 09:21:39 +03:00
test_tasks.py HTTP/3 Support (#2378) 2022-06-27 11:19:26 +03:00
test_test_client_port.py Remove test client (#2009) 2021-01-28 09:22:22 +02:00
test_timeout_logic.py Make HTTP connections start in IDLE stage, avoiding delays and error messages (#2268) 2021-11-16 23:03:27 +02:00
test_tls.py Add CertLoader as application option (#2722) 2023-03-20 14:05:21 +02:00
test_touchup.py Add config option to skip Touchup step, for debugging purposes (#2361) 2022-03-24 13:52:05 +02:00
test_unix_socket.py Establish basic file browser and index fallback (#2662) 2023-02-05 15:09:04 +02:00
test_url_building.py Establish basic file browser and index fallback (#2662) 2023-02-05 15:09:04 +02:00
test_url_for_static.py Resolve some more tests 2021-02-07 11:38:37 +02:00
test_url_for.py Signals Integration (#2160) 2021-08-05 22:55:42 +03:00
test_utf8.py Swap out requests-async for httpx (#1728) 2019-12-20 19:23:52 -08:00
test_utils.py Establish basic file browser and index fallback (#2662) 2023-02-05 15:09:04 +02:00
test_versioning.py HTTP/3 Support (#2378) 2022-06-27 11:19:26 +03:00
test_vhosts.py debug and working stage--squash 2021-02-08 12:18:29 +02:00
test_views.py refactor: consistent exception naming (#2420) 2022-05-12 20:39:35 +03:00
test_websockets.py HTTP/3 Support (#2378) 2022-06-27 11:19:26 +03:00
test_ws_handlers.py Make WebsocketImplProtocol async iterable (#2490) 2022-09-21 00:20:32 +03:00