Skip to content

Commit

Permalink
Update test_invalid_redirect_url
Browse files Browse the repository at this point in the history
  • Loading branch information
setla committed Jan 30, 2024
1 parent 23d2e9f commit b0a68cc
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tests/test_client_functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -2462,12 +2462,17 @@ async def handler_redirect(request):
(
# yarl.URL.__new__ raises ValueError
"http://:/",
"http://www.example.com/../filename.html",
"http://example.org:non_int_port/",
# yarl.URL.origin raises ValueError
# # yarl.URL.origin raises ValueError
"http:/",
"http:/example.com",
"http:///example.com",
"bluesky://d:i:d",
"call:+3801234567",
"skype:handle",
"slack://instance/room",
"steam:code",
"twitter://handle",
),
)
async def test_invalid_redirect_url(
Expand Down

0 comments on commit b0a68cc

Please sign in to comment.