def get_queues(*queue_names, **kwargs):
    from .settings import QUEUES
    autocommit = kwargs.get('autocommit', None)
    if len(queue_names) == 0:
        # Return "default" queue if no queue name is specified
        return [get_queue(autocommit=autocommit)]
    if len(queue_names) > 1:
        queue_params = QUEUES[queue_names[0]]
        connection_params = filter_connection_params(queue_params)
        for name in queue_names:
            if connection_params != filter_connection_params(QUEUES[name]):
                raise ValueError(
                    'Queues must have the same redis connection.'
                    '"{0}" and "{1}" have '
                    'different connections'.format(name, queue_names[0]))
    return [get_queue(name, autocommit=autocommit) for name in queue_names]
Helper which verifies that C{fileName} exists in C{fileDir} and it has
dataset/ETHPy150Open ui/django-rq/django_rq/queues.py/get_queues--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/python/test/test_release.py/SphinxBuilderTests.verifyFileExists