Skip to content

Commit

Permalink
fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
akanstantsinau authored and dopry committed Oct 19, 2023
1 parent ec61ec2 commit 0cf46cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@ def test_validate_bad_origin_uris(self):
'https://["><script>alert()</script>',
# Origin uri should not contain path, query of fragment parts
# https://www.rfc-editor.org/rfc/rfc6454#section-7.1
"https:/example.com/",
"https:/example.com/test",
"https:/example.com/?q=test",
"https:/example.com/#test",
"https://example.com/",
"https://example.com/test",
"https://example.com/?q=test",
"https://example.com/#test",
]

for uri in bad_uris:
Expand Down

0 comments on commit 0cf46cd

Please sign in to comment.