]> git.ipfire.org Git - thirdparty/starlette.git/commit
Turn `scope["client"]` to `None` on `TestClient` (#2377)
authorAmin Alaee <mohammadamin.alaee@gmail.com>
Mon, 25 Dec 2023 09:33:09 +0000 (13:03 +0330)
committerGitHub <noreply@github.com>
Mon, 25 Dec 2023 09:33:09 +0000 (02:33 -0700)
commit483849a466a2bfc121f5a367339e1aa3ed20344b
tree419d6ce3ba0c7f34aa67cbbbd3ab4b0f7ab02c93
parent966f0fc85764bd478d7c582fc8e2e5f91dbebae6
Turn `scope["client"]` to `None` on `TestClient` (#2377)

* Remove client scope from testclient

* remove test

* Update testclient.py

---------

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
starlette/testclient.py
tests/test_testclient.py