@pytest.fixture(scope='module')
def storage_cluster(api, request):
    'Specific storage cluster.\n\n    :param api: api\n    :param request: pytest request\n\n    :raises RuntimeError: Unknown cluster name\n    :return: cluster box\n    '
    cluster_name = request.param
    cluster = None
    if (cluster_name != 'DEFAULT'):
        cluster = QueryOPF(api=api, url='/cluster/list', request_data={}, errors_mapping={}, paginated_field='clusters', required_sid=True).filter_by(Filter('name', FilterCondition.equals, cluster_name)).first()
        if (cluster is None):
            raise RuntimeError('Unknown cluster name {name}'.format(name=cluster_name))
    return cluster
Specific storage cluster.

:param api: api
:param request: pytest request

:raises RuntimeError: Unknown cluster name
:return: cluster box
@pytest.fixture(scope='module')
def storage_cluster(api, request):
    'Specific storage cluster.\n\n    :param api: api\n    :param request: pytest request\n\n    :raises RuntimeError: Unknown cluster name\n    :return: cluster box\n    '
    cluster_name = request.param
    cluster = None
    if (cluster_name != 'DEFAULT'):
        cluster = QueryOPF(api=api, url='/cluster/list', request_data={}, errors_mapping={}, paginated_field='clusters', required_sid=True).filter_by(Filter('name', FilterCondition.equals, cluster_name)).first()
        if (cluster is None):
            raise RuntimeError('Unknown cluster name {name}'.format(name=cluster_name))
    return cluster