

def test_set_isolated(self, options):
    line = 'SomeProject'
    filename = 'filename'
    options.isolated_mode = True
    result = process_line(line, filename, 1, options=options)
    assert list(result)[0].isolated

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