Ticket #5939: ca_provinces.2.diff
File ca_provinces.2.diff, 925 bytes (added by , 17 years ago) |
---|
-
django/contrib/localflavor/ca/ca_provinces.py
33 33 'british columbia': 'BC', 34 34 'mb': 'MB', 35 35 'manitoba': 'MB', 36 'nb': 'NB', 37 'new brunswick': 'NB', 36 38 'nf': 'NF', 37 39 'newfoundland': 'NF', 38 40 'newfoundland and labrador': 'NF', -
tests/regressiontests/forms/localflavor/ca.py
147 147 u'NS' 148 148 >>> f.clean(' manitoba ') 149 149 u'MB' 150 >>> f.clean(' new brunswick ') 151 u'NB' 152 >>> f.clean('NB') 153 u'NB' 150 154 >>> f.clean('T2S 2H7') 151 155 Traceback (most recent call last): 152 156 ...