diff --git a/tests/regressiontests/forms/localflavor/ie.py b/tests/regressiontests/forms/localflavor/ie.py index 540281c19e..fab519bfe9 100644 --- a/tests/regressiontests/forms/localflavor/ie.py +++ b/tests/regressiontests/forms/localflavor/ie.py @@ -1,12 +1,43 @@ -# -*- coding: utf-8 -*- -# Tests for the contrib/localflavor/ie form fields. +from django.contrib.localflavor.ie.forms import IECountySelect -tests = r""" -# IECountySelect ######################################################### +from utils import LocalFlavorTestCase ->>> from django.contrib.localflavor.ie.forms import IECountySelect ->>> f = IECountySelect() ->>> f.render('counties', 'dublin') -u'' -""" +class IELocalFlavorTests(LocalFlavorTestCase): + def test_IECountySelect(self): + f = IECountySelect() + out = u'''''' + self.assertEqual(f.render('counties', 'dublin'), out) diff --git a/tests/regressiontests/forms/localflavortests.py b/tests/regressiontests/forms/localflavortests.py index 264efadc1e..47dfd6d95c 100644 --- a/tests/regressiontests/forms/localflavortests.py +++ b/tests/regressiontests/forms/localflavortests.py @@ -1,6 +1,5 @@ # -*- coding: utf-8 -*- from localflavor.cz import tests as localflavor_cz_tests -from localflavor.ie import tests as localflavor_ie_tests from localflavor.is_ import tests as localflavor_is_tests from localflavor.it import tests as localflavor_it_tests from localflavor.jp import tests as localflavor_jp_tests @@ -30,13 +29,13 @@ from localflavor.fi import FILocalFlavorTests from localflavor.fr import FRLocalFlavorTests from localflavor.generic import GenericLocalFlavorTests from localflavor.id import IDLocalFlavorTests +from localflavor.ie import IELocalFlavorTests from localflavor.il import ILLocalFlavorTests from localflavor.tr import TRLocalFlavorTests __test__ = { 'localflavor_cz_tests': localflavor_cz_tests, - 'localflavor_ie_tests': localflavor_ie_tests, 'localflavor_is_tests': localflavor_is_tests, 'localflavor_it_tests': localflavor_it_tests, 'localflavor_jp_tests': localflavor_jp_tests, diff --git a/tests/regressiontests/forms/tests/__init__.py b/tests/regressiontests/forms/tests/__init__.py index 190577c9f6..065a8beb47 100644 --- a/tests/regressiontests/forms/tests/__init__.py +++ b/tests/regressiontests/forms/tests/__init__.py @@ -27,6 +27,7 @@ from regressiontests.forms.localflavortests import ( FRLocalFlavorTests, GenericLocalFlavorTests, IDLocalFlavorTests, + IELocalFlavorTests, ILLocalFlavorTests, TRLocalFlavorTests, )