def test_string_formatting(self):
        """ Test the human representation of a recipient """
        recipient = MessageRecipient.objects.get(pk=1)

        valid_unicode = '%s' % (recipient.message)

        self.assertEqual(recipient.__str__(),
                             valid_unicode)
dataset/ETHPy150Open bread-and-pepper/django-userena/userena/contrib/umessages/tests/test_models.py/MessageRecipientModelTest.test_string_formatting/original