

def test_set_finder_no_index(self, finder):
    list(process_line('--no-index', 'file', 1, finder=finder))
    assert (finder.index_urls == [])

dataset/ETHPy150Open pypa/pip/tests/unit/test_req_file.py TestProcessLine.test_set_finder_no_index/original