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.assertHTMLEqual(p.render('province', 'U'), out)