'Answers are counted correctly on a user.'

def test_num_questions(self):

    u = UserFactory()
    eq_(num_questions(u), 0)
    q1 = QuestionFactory(creator=u)
    eq_(num_questions(u), 1)
    q2 = QuestionFactory(creator=u)
    eq_(num_questions(u), 2)
    q1.delete()
    eq_(num_questions(u), 1)
    q2.delete()
    eq_(num_questions(u), 0)
