Ticket #10204: regressiontests.diff
File regressiontests.diff, 813 bytes (added by , 16 years ago) |
---|
-
tests/regressiontests/forms/localflavor/es.py
155 155 'X0012953G' 156 156 >>> f.clean('x-3287690-r') 157 157 'X3287690R' 158 >>> f.clean('Y-3287690-R') 159 'Y3287690R' 160 >>> f.clean('y-3287690-r') 161 'Y3287690R' 162 >>> f.clean('Y 3287690 R') 163 'Y3287690R' 164 >>> f.clean('Y-3287690-T') 165 Traceback (most recent call last): 166 ... 167 ValidationError: [u'Invalid checksum for NIE.'] 168 >>> f.clean('Z-3287690-R') 169 'Z3287690R' 170 >>> f.clean('Z-3287690-T') 171 Traceback (most recent call last): 172 ... 173 ValidationError: [u'Invalid checksum for NIE.'] 158 174 >>> f.clean('t-03287690r') 159 175 'T03287690R' 160 176 >>> f.clean('P2907500I')