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 committed Oct 12, 2024
1 parent 0066f17 commit d8bf387
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 d8bf387

Please sign in to comment.