Skip to content

Commit

Permalink
Fixing reference to cookie_jar
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbyt3r committed Aug 1, 2024
1 parent 87b74a6 commit ced66af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import os

def csrf(client):
return client.get_cookie("csrf_token") or ""
return client.get_cookie("csrf_token").value or ""

@pytest.fixture(params=[False, True])
def tuber(postgresql, redis=False):
Expand Down

0 comments on commit ced66af

Please sign in to comment.