'Verify that replies posted by the question creator aren\'t counted.
If a user has 10 replies to their own question, they aren\'t counted as
a contributor.'

def test_asker_replies_arent_a_contribution(self):

    q = QuestionFactory()
    u = q.creator
    AnswerFactory.create_batch(10, creator=u, question=q)
    self._make_contributor_metric_kinds()
    update_contributor_metrics(day=(date.today() + timedelta(days=1)))
    r = self._get_api_result('api.kpi.contributors')
    eq_(r['objects'][0]['support_forum'], 0)
    q.creator = UserFactory()
    q.save()
    cache.clear()
    Metric.objects.all().delete()
    update_contributor_metrics(day=(date.today() + timedelta(days=1)))
    r = self._get_api_result('api.kpi.contributors')
    eq_(r['objects'][0]['support_forum'], 1)
