Commit 0d48fb66 by Trim21 Committed by finswimmer

add test

parent 5fc4db72
......@@ -215,3 +215,11 @@ def test_urls():
assert "https://pypi.org/simple/" == repository.url
assert "https://pypi.org/simple/" == repository.authenticated_url
def test_use_pypi_pretty_name():
repo = MockRepository(fallback=True)
package = repo.find_packages("twisted")
assert len(package) == 1
assert package[0].pretty_name == "Twisted"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment