コード例 #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)
コード例 #2
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.assertEqual(cleaned_body, self.expected_output)
コード例 #3
0
 def test_clean_email_body(self):
     cleaned_body = mail.clean_html_email(self.rendered_template)
     self.assertEqual(self.expected_output, cleaned_body)
コード例 #4
0
 def test_clean_email_body(self):
     cleaned_body = mail.clean_html_email(self.rendered_template)
     self.assertEqual(self.expected_output, cleaned_body)