def test_no_partial_name_match(data):
    finder = PackageFinder([data.find_links], [], session=PipSession())
    req = InstallRequirement.from_line("gmpy")
    found = finder.find_requirement(req, False)

    assert found.url.endswith("gmpy-1.15.tar.gz"), found
Finder requires the full project name to match, not just beginning.
dataset/ETHPy150Open pypa/pip/tests/unit/test_finder.py/test_no_partial_name_match