def test_getmailcontent_empty_mail(self):
    'Try to display an empty email.'
    url = '{}?action=reply&mbox=INBOX&mailid=33'.format(reverse('modoboa_webmail:mailcontent_get'))
    response = self.client.get(url)
    self.assertEqual(response.status_code, 200)
Try to display an empty email.
def test_getmailcontent_empty_mail(self):
    
    url = '{}?action=reply&mbox=INBOX&mailid=33'.format(reverse('modoboa_webmail:mailcontent_get'))
    response = self.client.get(url)
    self.assertEqual(response.status_code, 200)