Skip to content

Commit

Permalink
add more tests for uri validator
Browse files Browse the repository at this point in the history
  • Loading branch information
elfkuzco authored and benoit74 committed Oct 14, 2024
1 parent e55197f commit 17ad543
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
("https//example..com", False),
("http://www.asdf.com", True),
("http://A1-B2.C3D4.E5F6.COM", True),
("-", False),
("//www.host.com", True),
("www.host.com", False),
],
)
def test_is_valid_uri(url, expected):
Expand Down

0 comments on commit 17ad543

Please sign in to comment.