from django.contrib.localflavor.ec.forms import ECProvinceSelect from django.test import SimpleTestCase class ECLocalFlavorTests(SimpleTestCase): def test_ECProvinceSelect(self): p = ECProvinceSelect() out = u"""""" self.assertEqual(p.render('province', 'U'), out)