def test_cyrillic_rendering(self): """ Check rendering cyrillic to template """ CyrillicPersonFactory.create() contact = Person.objects.last() self.assertEqual(check_content_in_template(contact), True)
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)