sanic/tests
Zhiwei 61aa16f6ac
Decode headers as UTF-8 also in ASGI (#2606)
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
2023-03-20 15:39:57 +02: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 Sanic Server WorkerManager refactor (#2499) 2022-09-18 17:17:23 +03:00
http3 Sanic Server WorkerManager refactor (#2499) 2022-09-18 17:17:23 +03: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
worker Fix double ctrl-c kill (#2634) 2022-12-18 14:40:38 +02: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 Establish basic file browser and index fallback (#2662) 2023-02-05 15:09:04 +02:00
test_asgi.py Decode headers as UTF-8 also in ASGI (#2606) 2023-03-20 15:39:57 +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 Allow early Blueprint registrations to still apply later added objects (#2260) 2021-11-17 17:29:41 +02:00
test_blueprint_group.py Resolve edge case in nested BP Groups (#2592) 2022-10-31 12:58:41 +02:00
test_blueprints.py Do not apply double slash to Blueprint and static dirs (#2515) 2022-09-15 14:43:20 +03:00
test_cancellederror.py Better request cancel handling (#2513) 2022-09-19 16:04:09 +03:00
test_cli.py Add better inspector arg parsing (#2642) 2022-12-26 12:27:40 +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 Establish basic file browser and index fallback (#2662) 2023-02-05 15:09:04 +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 Nicer traceback formatting (#2667) 2023-03-06 21:24:12 +02:00
test_exceptions_handler.py Nicer traceback formatting (#2667) 2023-03-06 21:24:12 +02:00
test_exceptions.py Nicer traceback formatting (#2667) 2023-03-06 21:24:12 +02: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 Always show server location in ASGI (#2522) 2022-08-11 10:00:35 +03: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 Cleanup ports on tests (#2338) 2021-12-13 19:48:30 +02: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 Allow fork in limited cases (#2624) 2022-12-15 11:49:26 +02: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 Sanic Server WorkerManager refactor (#2499) 2022-09-18 17:17:23 +03:00
test_redirect.py deprecate abort (#2077) 2021-04-05 18:01:48 +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 Error page rendering format selection (#2668) 2023-02-26 08:25:10 +02:00
test_requests.py Filename normalisation of form-data/multipart file uploads (umlauts on Apple clients) (#2625) 2022-12-13 08:36:21 +02: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 Add JSONResponse class (#2569) 2022-12-11 10:37:45 +02:00
test_response_timeout.py Sanic Server WorkerManager refactor (#2499) 2022-09-18 17:17:23 +03:00
test_response.py Establish basic file browser and index fallback (#2662) 2023-02-05 15:09:04 +02:00
test_routes.py Establish basic file browser and index fallback (#2662) 2023-02-05 15:09:04 +02: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 Establish basic file browser and index fallback (#2662) 2023-02-05 15:09:04 +02:00
test_signals.py Test for 3.11 support (#2612) 2022-12-17 23:46:22 +02:00
test_static_directory.py Establish basic file browser and index fallback (#2662) 2023-02-05 15:09:04 +02:00
test_static.py Establish basic file browser and index fallback (#2662) 2023-02-05 15:09:04 +02: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