fix(test): Fixes for "TestClient" changes
Seems that client is optional according to the ASGI spec. https://asgi.readthedocs.io/en/latest/specs/www.html With Starlette 0.35 the TestClient connection scope is None for "client". https://github.com/encode/starlette/pull/2377 Signed-off-by:moson <moson@archlinux.org>
Showing
- aurweb/models/ban.py 2 additions, 1 deletionaurweb/models/ban.py
- aurweb/models/user.py 1 addition, 1 deletionaurweb/models/user.py
- aurweb/ratelimit.py 4 additions, 3 deletionsaurweb/ratelimit.py
- aurweb/routers/sso.py 4 additions, 2 deletionsaurweb/routers/sso.py
- aurweb/users/validate.py 1 addition, 1 deletionaurweb/users/validate.py
- aurweb/util.py 8 additions, 0 deletionsaurweb/util.py
- test/test_accounts_routes.py 3 additions, 2 deletionstest/test_accounts_routes.py
- test/test_rpc.py 6 additions, 6 deletionstest/test_rpc.py
Please register or sign in to comment