Exemplo n.º 1
0
 def test_cyrillic_rendering(self):
     """
     Check rendering cyrillic to template
     """
     CyrillicPersonFactory.create()
     contact = Person.objects.last()
     self.assertEqual(check_content_in_template(contact), True)
Exemplo n.º 2
0
    def test_cyrillic_support(self):
        """
        Check support DB for cyrillic language.

        """
        Person.objects.all().delete()
        contact = CyrillicPersonFactory.create()
        check_data = CyrillicPersonFactory.attributes()
        self.assertEqual(check_db_content(contact, check_data), True)