def test_sort_locations_non_existing_path():
    finder = PackageFinder([], [], session=PipSession())
    files, urls = finder._sort_locations(
        [os.path.join('this', 'doesnt', 'exist')])
    assert not urls and not files, "nothing should have been found"
A check that can be used to inhibit online migration behavior
dataset/ETHPy150Open pypa/pip/tests/unit/test_index.py/test_sort_locations_non_existing_path--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/objects/base.py/NovaObject.should_migrate_data