

def test_set_finder_trusted_host(self, finder):
    list(process_line('--trusted-host=url', 'file', 1, finder=finder))
    assert (finder.secure_origins == [('*', 'url', '*')])

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