def test_repr(self): question = Question(answer='question1') self.assertEqual(question.__repr__(), '<Question question1>')