Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/test_ie_vat.doctest
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug in Irish VAT number validationArthur de Jong2016-05-281-0/+48
The last digits of the number that should be letters were not tested to be letters which could result in ValueError being raised for certain validations. This also clarifies the documentation and adds a convert() function to convert numbers from the old format (where the second character would be a letter or symbol) to the new format (7 digits followed by 1 or 2 letters).