Exemple #1
0
 def test_clean_email_body(self):
     cleaned_body = mail.clean_html_email(self.rendered_template)
     print "EXPECTED BODY"
     print self.expected_output
     print '=================================================='
     print cleaned_body
     print "CLEANED BODY"
     self.assertEquals(cleaned_body, self.expected_output)
 def test_clean_email_body(self):
     cleaned_body = mail.clean_html_email(self.rendered_template)
     print "EXPECTED BODY"
     print self.expected_output
     print '=================================================='
     print cleaned_body
     print "CLEANED BODY"
     self.assertEqual(cleaned_body, self.expected_output)
 def test_clean_email_body(self):
     cleaned_body = mail.clean_html_email(self.rendered_template)
     self.assertEqual(self.expected_output, cleaned_body)
 def test_clean_email_body(self):
     cleaned_body = mail.clean_html_email(self.rendered_template)
     self.assertEqual(self.expected_output, cleaned_body)