def test_find_all_candidates_index(data):
    finder = PackageFinder(
        [], [data.index_url('simple')], session=PipSession())
    versions = finder.find_all_candidates('simple')
    assert [str(v.version) for v in versions] == ['1.0']
dataset/ETHPy150Open pypa/pip/tests/unit/test_finder.py/test_find_all_candidates_index/original