def test_req_file_no_finder(self, tmpdir):
        with open(tmpdir.join("req.txt"), "w") as fp:
            fp.write("""
    --find-links https://example.com/
    --index-url https://example.com/
    --extra-index-url https://two.example.com/
    --no-use-wheel
    --no-index
            """)

        parse_requirements(tmpdir.join("req.txt"), session=PipSession())
Test parsing a requirements file without a finder
dataset/ETHPy150Open pypa/pip/tests/unit/test_req_file.py/TestParseRequirements.test_req_file_no_finder