@@ -0,0 +1,693 @@
+import datetime%0A%0Afrom django.test import TestCase%0A%0Afrom tt_dailyemailblast import models%0Afrom tt_dailyemailblast.tests import factories%0A%0A%0Aclass DailyEmailBlastTestCase(TestCase):%0A    def setUp(self):%0A        self.blast_type = factories.DailyEmailBlastTypeFactory.create()%0A%0A    def test_unicode_output(self):%0A        created_on = datetime.datetime.now()%0A        blast = models.DailyEmailBlast.objects.create(%0A                body='Some random blast', blast_type=self.blast_type)%0A        expected_pattern = '%5E%25s %5C(%2504d-%2502d-%2502d.*%5C)$' %25 (blast.blast_type.name,%0A                created_on.year, created_on.month, created_on.day)%0A        self.assertRegexpMatches(unicode(blast), expected_pattern)%0A

Test unicode support