<commit_before>from .base import Connector


class Dummy(Connector):
    """
    Dummy connector for test purposes
    """

    def __init__(self):
        self.jobs = {}
        self.deleted_jobs = {}
        self.retried_jobs = {}

        self.num_jobs = 0
        self.num_deleted_jobs = 0
        self.num_retried_jobs = 0

    def get_queue(self, name):
        return self.jobs.setdefault(name, [])

    def get_queues(self):
        return self.jobs.keys()<commit_msg>Force returning a list in get_queues on the dummy connector<commit_after>from .base import Connector


class Dummy(Connector):
    """
    Dummy connector for test purposes
    """

    def __init__(self):
        self.jobs = {}
        self.deleted_jobs = {}
        self.retried_jobs = {}

        self.num_jobs = 0
        self.num_deleted_jobs = 0
        self.num_retried_jobs = 0

    def get_queue(self, name):
        return self.jobs.setdefault(name, [])

    def get_queues(self):
        return list(self.jobs.keys())
{'fraction_non_alphanumeric': 0.10557768924302789, 'fraction_numerical': 0.00597609561752988, 'mean_word_length': 2.3059210526315788, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5294343', 'n_tokens_mistral': 342, 'n_tokens_neox': 312, 'n_words': 70}