def test_set_messages_success(self):
        author = {'name': 'John Doe',
                  'slug': 'success-msg'}
        add_url = reverse('add_success_msg')
        req = self.client.post(add_url, author)
        self.assertIn(author % ContactFormViewWithMsg.success_message,
                      req.cookies['messages'].value)
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/contrib/messages/tests/test_mixins.py/SuccessMessageMixinTests.test_set_messages_success/swapped operands of `%`