

def test_req_file_no_finder(self, tmpdir):
    '\n        Test parsing a requirements file without a finder\n        '
    with open(tmpdir.join('req.txt'), 'w') as fp:
        fp.write('\n    --find-links https://example.com/\n    --index-url https://example.com/\n    --extra-index-url https://two.example.com/\n    --no-use-wheel\n    --no-index\n            ')
    parse_requirements(tmpdir.join('req.txt'), session=PipSession())

dataset/ETHPy150Open pypa/pip/tests/unit/test_req_file.py TestParseRequirements.test_req_file_no_finder/original