Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to flask and werkzeug 2.3 #1244

Merged
merged 2 commits into from
Nov 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions ihatemoney/tests/budget_test.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from collections import defaultdict
import datetime
import re
from urllib.parse import urlparse, urlunparse
from urllib.parse import unquote, urlparse, urlunparse

from flask import session, url_for
from libfaketime import fake_time
Expand Down Expand Up @@ -587,7 +587,7 @@ def test_admin_authentication(self):

# test the redirection to the authentication page when trying to access admin endpoints
resp = self.client.get("/create")
assert '<a href="/admin?goto=%2Fcreate">' in resp.data.decode("utf-8")
assert "/admin?goto=/create" in unquote(resp.location)

# test right password
resp = self.client.post(
Expand Down