[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2023-05-11 21:47:14 +00:00
parent c09e83a6c8
commit 922db1ae8e

View File

@@ -404,7 +404,9 @@ async def test_idle_server_culled():
# Extract the xsrf token from the _xsrf cookie set after visiting # Extract the xsrf token from the _xsrf cookie set after visiting
# /hub/login with the u.session # /hub/login with the u.session
hub_cookie = u.session.cookie_jar.filter_cookies(str(u.hub_url / "hub/api/user")) hub_cookie = u.session.cookie_jar.filter_cookies(
str(u.hub_url / "hub/api/user")
)
assert "_xsrf" in hub_cookie assert "_xsrf" in hub_cookie
hub_xsrf_token = hub_cookie["_xsrf"].value hub_xsrf_token = hub_cookie["_xsrf"].value