python-stdnum commit: r118 - python-stdnum/stdnum/be
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
python-stdnum commit: r118 - python-stdnum/stdnum/be
- From: Commits of the python-stdnum project <python-stdnum-commits [at] lists.arthurdejong.org>
- To: python-stdnum-commits [at] lists.arthurdejong.org
- Reply-to: python-stdnum-users [at] lists.arthurdejong.org
- Subject: python-stdnum commit: r118 - python-stdnum/stdnum/be
- Date: Sat, 11 Feb 2012 21:25:19 +0100 (CET)
Author: arthur
Date: Sat Feb 11 21:25:18 2012
New Revision: 118
URL: http://arthurdejong.org/viewvc/python-stdnum?revision=118&view=revision
Log:
add missing test
Modified:
python-stdnum/stdnum/be/vat.py
Modified: python-stdnum/stdnum/be/vat.py
==============================================================================
--- python-stdnum/stdnum/be/vat.py Sat Feb 11 21:11:44 2012 (r117)
+++ python-stdnum/stdnum/be/vat.py Sat Feb 11 21:25:18 2012 (r118)
@@ -21,6 +21,8 @@
>>> compact('BE403019261')
'0403019261'
+>>> compact('(0)403019261')
+'0403019261'
>>> is_valid('BE 428759497')
True
>>> is_valid('BE431150351')
--
To unsubscribe send an email to
python-stdnum-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/python-stdnum-commits/
- python-stdnum commit: r118 - python-stdnum/stdnum/be,
Commits of the python-stdnum project