Skip to content

Commit 919c5e3

Browse files
committed
pylint
1 parent c0f1f24 commit 919c5e3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

services/web/server/tests/unit/with_dbs/03/login/test_login_change_email.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ async def test_change_and_confirm(
8080
login_url = client.app.router["auth_login"].url_for()
8181
logout_url = client.app.router["auth_logout"].url_for()
8282

83-
assert isinstance(index_url, URL)
84-
assert index_url.path == URL(login_options.LOGIN_REDIRECT).path
83+
assert URL(f"{index_url}").path == URL(login_options.LOGIN_REDIRECT).path
8584

8685
async with LoggedUser(client) as user:
8786
# request change email

0 commit comments

Comments
 (0)