def test_class(self): result = User.repr(1) # @UndefinedVariable self.assertEquals('<User 1>', result)