def test_compose(self):
        # Login is required.
        self._test_login('userena_umessages_compose')

        # Sign in
        client = self.client.login(username='john', password='blowfish')
        response = self.client.get(reverse('userena_umessages_compose'))

        self.assertEqual(response.status_code, 200)
        self.assertTemplateUsed(response,
                                'umessages/message_form.html')

        self.assertTrue(isinstance(response.context['form'],
                                   ComposeForm))
A ``GET`` to the compose view
dataset/ETHPy150Open bread-and-pepper/django-userena/userena/contrib/umessages/tests/test_views.py/MessagesViewsTests.test_compose