'Verify the Support Forum Badge is awarded properly.'

def test_answer_badge(self):

    year = date.today().year
    u = UserFactory()
    badge_template = QUESTIONS_BADGES['answer-badge']
    b = BadgeFactory(slug=badge_template['slug'].format(year=year), title=badge_template['title'].format(year=year), description=badge_template['description'].format(year=year))
    AnswerFactory.create_batch(29, creator=u)
    assert (not b.is_awarded_to(u))
    AnswerFactory(creator=u)
    assert b.is_awarded_to(u)
