Skip to content

Commit

Permalink
add human_readable_url edge case test to increase coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ikirudennis committed Aug 7, 2024
1 parent d3cc63c commit f10d0ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,7 @@ def test_generate_tag():
expect = '<a href="http://de.wikipedia.org/wiki/%C3%C9bermensch">Übermensch</a>'
result = utils.generate_tag('a', text, attributes)
assert result == expect


def test_human_readable_url_edge_case():
assert utils.human_readable_url('tel:1-800-555-1212') == '1-800-555-1212'

0 comments on commit f10d0ae

Please sign in to comment.