'``GET`` to a detail page between two users'

def test_message_detail(self):

    self._test_login('userena_umessages_detail', kwargs={'username': 'jane'})
    client = self.client.login(username='john', password='blowfish')
    response = self.client.get(reverse('userena_umessages_detail', kwargs={'username': 'jane'}))
    self.assertEqual(response.status_code, 200)
    self.assertTemplateUsed(response, 'umessages/message_detail.html')
    john = User.objects.get(pk=1)
    jane = User.objects.get(pk=2)
    unread_messages = MessageRecipient.objects.filter(user=john, message__sender=jane, read_at__isnull=True)
    self.assertEqual(len(unread_messages), 0)
