Skip to content

Commit

Permalink
fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
akanstantsinau committed Oct 18, 2023
1 parent f6e5bba commit ffedb86
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 ffedb86

Please sign in to comment.