Skip to content

Commit 6edc9c8

Browse files
committed
chores: Format
1 parent a7f2738 commit 6edc9c8

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

tests/test_session.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -741,13 +741,11 @@ async def test_that_verify_session_doesnt_always_call_core():
741741
async def test_anti_csrf_header_via_custom_header_check_happens_only_when_access_token_is_provided(
742742
driver_config_client: TestClient,
743743
):
744-
args = get_st_init_args([session.init(anti_csrf="VIA_CUSTOM_HEADER", get_token_transfer_method=lambda *_: "cookie")]) # type: ignore
744+
args = get_st_init_args([session.init(anti_csrf="VIA_CUSTOM_HEADER", get_token_transfer_method=lambda *_: "cookie")]) # type: ignore
745745
init(**args) # type: ignore
746746
start_st()
747747

748-
response = driver_config_client.post(
749-
"/create"
750-
)
748+
response = driver_config_client.post("/create")
751749
assert response.status_code == 200
752750

753751
# With access token:
@@ -757,7 +755,8 @@ async def test_anti_csrf_header_via_custom_header_check_happens_only_when_access
757755
assert response.json() == {"message": "try refresh token"}
758756

759757
# with RID:
760-
response = driver_config_client.post("/sessioninfo-optional",
758+
response = driver_config_client.post(
759+
"/sessioninfo-optional",
761760
headers={
762761
"rid": "session",
763762
},

0 commit comments

Comments
 (0)