def auto_fill_queue(module, input_queue, prefix='test_'):
    """
    Scans the specified module for methods beginning with prefix and puts them into the input_queue
    :param module: module whose test methods are to be added to the queue
    :param input_queue: queue to add tests to
    :param prefix: string prefix to identify tests
    :return:
    """
    test_func_names = []
    for x in dir(module):
        if x.startswith(prefix):
            test_func_names.append(x)
    for test_func_name in test_func_names:
        func = getattr(module, test_func_name)
        if callable(func):
            input_queue.put(func)
