from django.contrib.localflavor.py.forms import (PyDepartmentSelect,
PyNumberedDepartmentSelect)
from utils import LocalFlavorTestCase
class PYLocalFlavorTests(LocalFlavorTestCase):
def test_PyDepartmentSelect(self):
py = PyDepartmentSelect()
out = u''''''
self.assertEqual(py.render('department', 'M'), out)
def test_PyNumberedDepartmentSelect(self):
py = PyNumberedDepartmentSelect()
out = u''''''
self.assertEqual(py.render('department', 'AM'), out)