Skip to content

Commit

Permalink
Add alternative test vector to links_equivalent
Browse files Browse the repository at this point in the history
  • Loading branch information
uranusjr committed Jul 12, 2021
1 parent 5ab1cc8 commit c7bec9b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/unit/test_link.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ def test_is_vcs(self, url, expected):
)
def test_links_equivalent(url1, url2):
assert links_equivalent(Link(url1), Link(url2))
assert links_equivalent(Link(url2), Link(url1))


@pytest.mark.parametrize(
Expand All @@ -191,3 +192,4 @@ def test_links_equivalent(url1, url2):
)
def test_links_equivalent_false(url1, url2):
assert not links_equivalent(Link(url1), Link(url2))
assert not links_equivalent(Link(url2), Link(url1))

0 comments on commit c7bec9b

Please sign in to comment.