sanic/tests
Harsha Narayana 2c25af8cf5
GIT-2045: enable versioning and strict slash on BlueprintGroup (#2047)
* GIT-2045: enable versioning and strict slash on BlueprintGroup

* GIT-2045: convert named tuple into typed format + unit tests

* GIT-2045: add example code for versioned bpg

* GIT-2045: None value for strict slashes check

* GIT-2045: refactor handler types and add benchmark for urlparse

* GIT-2045: reduce urlparse benchmark iterations

* GIT-2045: add unit test and url merge behavior

* GIT-2045: cleanup example code and remove print

* GIT-2045: add test for slash duplication avoidence

* GIT-2045: fix issue with tailing / getting appended

* GIT-2045: use Optional instead of Union for Typing

* GIT-2045: use string for version arg

* GIT-2045: combine optional with union
2021-03-07 14:54:45 +02:00
..
benchmark Router tweaks (#2031) 2021-03-01 15:30:52 +02:00
certs initial commit 2017-03-03 11:44:50 -05:00
performance Fix imports and isort to remove from Makefile deprecated options (#1891) 2020-07-07 16:13:03 +03:00
static Update config (#1903) 2020-09-30 16:44:09 +03:00
conftest.py GIT-2045: enable versioning and strict slash on BlueprintGroup (#2047) 2021-03-07 14:54:45 +02:00
skip_test_custom_protocol.py Streaming Server (#1876) 2021-01-11 00:45:36 +02:00
test_app.py Router tweaks (#2031) 2021-03-01 15:30:52 +02:00
test_asgi.py Remove Python 3.6 support 2021-02-21 23:28:28 +02:00
test_bad_request.py squash 2021-02-01 09:56:58 +02:00
test_base.py Add __str__ and __repr__ to Sanic and Bluepring (#2043) 2021-03-03 16:58:18 +02:00
test_blueprint_group.py GIT-2045: enable versioning and strict slash on BlueprintGroup (#2047) 2021-03-07 14:54:45 +02:00
test_blueprints.py GIT-2045: enable versioning and strict slash on BlueprintGroup (#2047) 2021-03-07 14:54:45 +02:00
test_config.py 21.3 deprecations (#2007) 2021-01-19 01:36:50 +02:00
test_cookies.py Clean up use cases: 2021-02-03 22:36:44 +02:00
test_create_task.py Deprecation and test cleanup (#1818) 2020-03-28 11:43:14 -07:00
test_custom_request.py Streaming Server (#1876) 2021-01-11 00:45:36 +02:00
test_dynamic_routes.py Add SanicBase 2021-01-28 09:18:06 +02:00
test_errorpages.py Add text and json fallback error handlers (#1937) 2020-09-30 15:11:27 +03:00
test_exceptions_handler.py Router tweaks (#2031) 2021-03-01 15:30:52 +02:00
test_exceptions.py No tracebacks on normal errors and prettier error pages (#1768) 2020-01-20 08:58:14 -06:00
test_headers.py Add raw header info to request object (#2032) 2021-03-03 16:33:34 +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_keep_alive_timeout.py Remove test client (#2009) 2021-01-28 09:22:22 +02:00
test_logging.py debug and working stage--squash 2021-02-08 12:18:29 +02:00
test_logo.py Remove test client (#2009) 2021-01-28 09:22:22 +02:00
test_middleware.py Add some test coverage 2021-02-15 21:50:20 +02:00
test_multiprocessing.py Listeners for main server process (#2018) 2021-03-01 15:03:26 +02:00
test_named_routes.py squash 2021-02-15 13:54:08 +02:00
test_payload_too_large.py debug and working stage--squash 2021-02-08 12:18:29 +02:00
test_redirect.py debug and working stage--squash 2021-02-08 12:18:29 +02:00
test_reloader.py chore: refactor code quality issues (#2044) 2021-03-05 10:26:03 +02:00
test_request_cancel.py GIT-1591 Strict Slashes behavior fix (#1594) 2019-06-06 07:21:58 -05:00
test_request_data.py Fix linting issues 2020-09-29 00:40:24 +03:00
test_request_stream.py Router tweaks (#2031) 2021-03-01 15:30:52 +02:00
test_request_timeout.py Remove test client (#2009) 2021-01-28 09:22:22 +02:00
test_request.py Router tweaks (#2031) 2021-03-01 15:30:52 +02:00
test_requests.py squash 2021-02-15 14:01:32 +02:00
test_response_timeout.py No tracebacks on normal errors and prettier error pages (#1768) 2020-01-20 08:58:14 -06:00
test_response.py chore: refactor code quality issues (#2044) 2021-03-05 10:26:03 +02:00
test_routes.py Router tweaks (#2031) 2021-03-01 15:30:52 +02:00
test_server_events.py Add some test coverage 2021-02-15 21:50:20 +02:00
test_signal_handlers.py Remove test client (#2009) 2021-01-28 09:22:22 +02:00
test_static.py chore: refactor code quality issues (#2044) 2021-03-05 10:26:03 +02:00
test_test_client_port.py Remove test client (#2009) 2021-01-28 09:22:22 +02:00
test_timeout_logic.py Streaming Server (#1876) 2021-01-11 00:45:36 +02:00
test_unix_socket.py Upgrade httpx 2020-09-27 02:58:36 +03:00
test_url_building.py chore: refactor code quality issues (#2044) 2021-03-05 10:26:03 +02:00
test_url_for_static.py Resolve some more tests 2021-02-07 11:38:37 +02:00
test_url_for.py Router tweaks (#2031) 2021-03-01 15:30:52 +02:00
test_utf8.py Swap out requests-async for httpx (#1728) 2019-12-20 19:23:52 -08:00
test_utils.py 21.3 deprecations (#2007) 2021-01-19 01:36:50 +02:00
test_vhosts.py debug and working stage--squash 2021-02-08 12:18:29 +02:00
test_views.py chore: refactor code quality issues (#2044) 2021-03-05 10:26:03 +02:00
test_worker.py worker 2021-02-08 14:09:41 +02:00