'Verify the needs_attention queryset.'

def test_needs_attention(self):

    q = QuestionFactory()
    eq_(1, Question.objects.needs_attention().count())
    a = AnswerFactory(question=q)
    eq_(0, Question.objects.needs_attention().count())
    a = AnswerFactory(creator=q.creator, question=q)
    eq_(1, Question.objects.needs_attention().count())
    q.is_locked = True
    q.save()
    eq_(0, Question.objects.needs_attention().count())
    q.is_locked = False
    q.solution = a
    q.save()
    eq_(0, Question.objects.needs_attention().count())
