def build_forum(**attrs):
    params_dict = {'type': Forum.FORUM_POST}
    params_dict.update(attrs)
    forum = ForumFactory.build(**params_dict)
    return forum
Instantiate the URLGenerator
dataset/ETHPy150Open ellmetha/django-machina/machina/test/factories/forum.py/build_forum--crossover with--dataset/ETHPy150Open bbangert/routes/routes/util.py/URLGenerator.__init__