def replace_slices(index):
    if isinstance(index, hashable_list):
        return list(index)
    elif isinstance(index, _slice):
        return index.as_slice()
    elif isinstance(index, tuple):
        return tuple(map(replace_slices, index))
    return index
Test that single tenant uris work with multi tenant on.
dataset/ETHPy150Open blaze/blaze/blaze/expr/utils.py/replace_slices--crossover with--dataset/ETHPy150Open openstack/glance_store/glance_store/tests/unit/test_swift_store.py/SwiftTests.test_get_size_with_multi_tenant_on