from django.contrib.localflavor.co.forms import CODepartmentSelect from django.test import SimpleTestCase class COLocalFlavorTests(SimpleTestCase): def test_CODepartmentSelect(self): d = CODepartmentSelect() out = u"""""" self.assertEqual(d.render('department', 'COR'), out)