]> git.ipfire.org Git - thirdparty/starlette.git/commit
TestClient accepts backend and backend_options as arguments to constructor (#1211)
authorThomas Grainger <tagrain@gmail.com>
Mon, 28 Jun 2021 20:36:13 +0000 (21:36 +0100)
committerGitHub <noreply@github.com>
Mon, 28 Jun 2021 20:36:13 +0000 (21:36 +0100)
commitd222b87cb4601ecda5d642ab504a14974d364db4
tree747d796651cb243776889587e576208c13f4d16a
parent906e9073a4cc6180a6c1f240118dd29d47e0f7e3
TestClient accepts backend and backend_options as arguments to constructor (#1211)

as opposed to ClassVar assignment

Co-authored-by: Jamie Hewland <jhewland@gmail.com>
Co-authored-by: Jordan Speicher <jordan@jspeicher.com>
Co-authored-by: Jordan Speicher <uSpike@users.noreply.github.com>
28 files changed:
docs/testclient.md
setup.py
starlette/testclient.py
tests/conftest.py
tests/middleware/test_base.py
tests/middleware/test_cors.py
tests/middleware/test_errors.py
tests/middleware/test_gzip.py
tests/middleware/test_https_redirect.py
tests/middleware/test_session.py
tests/middleware/test_trusted_host.py
tests/middleware/test_wsgi.py
tests/test_applications.py
tests/test_authentication.py
tests/test_background.py
tests/test_database.py
tests/test_endpoints.py
tests/test_exceptions.py
tests/test_formparsers.py
tests/test_graphql.py
tests/test_requests.py
tests/test_responses.py
tests/test_routing.py
tests/test_schemas.py
tests/test_staticfiles.py
tests/test_templates.py
tests/test_testclient.py
tests/test_websockets.py