1 parent 5fd7498 commit 006192eCopy full SHA for 006192e
1 file changed
tests/test_vatin.doctest
@@ -102,3 +102,9 @@ Check for VAT numbers that cannot be compacted without EU prefix:
102
True
103
>>> vatin.compact('EU191849184')
104
'EU191849184'
105
+
106
107
+Check seemingly double country codes are handled correctly:
108
109
+>>> vatin.validate('MX MXDE 111111 GR2') # the second "MX" is part of the number
110
+'MXMXDE111111GR2'
0 commit comments