def test_getmailsource(self):
    "Try to display a message's source."
    url = '{}?mbox=INBOX&mailid=133872'.format(reverse('modoboa_webmail:mailsource_get'))
    response = self.client.get(url)
    self.assertContains(response, 'Message-ID')
Try to display a message's source.
def test_getmailsource(self):
    
    url = '{}?mbox=INBOX&mailid=133872'.format(reverse('modoboa_webmail:mailsource_get'))
    response = self.client.get(url)
    self.assertContains(response, 'Message-ID')