Skip to content

Commit c41df7d

Browse files
authored
Merge pull request #7 from ericksc/feature/test-url-utf8-query-parameter
test: add URL validation with UTF-8 query parameters
2 parents c9587bc + a0b3bf7 commit c41df7d

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
"""HA-01. Test URL validation with UTF-8 query parameters."""
2+
3+
# local
4+
from validators import url
5+
6+
7+
def test_url_with_utf8_query_parameter():
8+
"""Test that URL validator accepts UTF-8 characters in query parameters."""
9+
result = url("https://domain.com/search?q=caña")
10+
11+
assert result is True

0 commit comments

Comments
 (0)