diff options
| author | Claude Paroz <claude@2xlibre.net> | 2012-06-30 13:18:07 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2012-06-30 13:18:07 +0200 |
| commit | 47da7b7a9aefce66fa2c54833b5ba308781fc95e (patch) | |
| tree | 1daf8bcd8a54fac06ebcf175bad2ab19634b2949 /tests/regressiontests | |
| parent | b9ecbedb31375a887d100ccf550a091c8d5d4fd7 (diff) | |
Fixed #18102 -- Defined min/max_length on French localflavor form fields
Thanks mothsART for the report and the initial patch.
Diffstat (limited to 'tests/regressiontests')
| -rw-r--r-- | tests/regressiontests/localflavor/fr/tests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/regressiontests/localflavor/fr/tests.py b/tests/regressiontests/localflavor/fr/tests.py index 55f8a68b3b..8e99ef462b 100644 --- a/tests/regressiontests/localflavor/fr/tests.py +++ b/tests/regressiontests/localflavor/fr/tests.py @@ -16,7 +16,8 @@ class FRLocalFlavorTests(SimpleTestCase): } invalid = { '2A200': error_format, - '980001': error_format, + '980001': ['Ensure this value has at most 5 characters (it has 6).' + ] + error_format, } self.assertFieldOutput(FRZipCodeField, valid, invalid) |
