lists.arthurdejong.org
RSS feed

python-stdnum commit: r99 - python-stdnum/tests

[Date Prev][Date Next] [Thread Prev][Thread Next]

python-stdnum commit: r99 - python-stdnum/tests



Author: arthur
Date: Sat Feb  4 20:12:20 2012
New Revision: 99
URL: http://arthurdejong.org/viewvc/python-stdnum?revision=99&view=revision

Log:
some extra rubustness checks

Modified:
   python-stdnum/tests/test_robustness.doctest

Modified: python-stdnum/tests/test_robustness.doctest
==============================================================================
--- python-stdnum/tests/test_robustness.doctest Sat Feb  4 20:11:10 2012        
(r98)
+++ python-stdnum/tests/test_robustness.doctest Sat Feb  4 20:12:20 2012        
(r99)
@@ -22,15 +22,15 @@
 check whether all provided is_valid() functions can handle clearly
 invalid junk.
 
->>> testvalues = ( None, '*&^%$', '', 0, False, object(),  )
+>>> testvalues = ( None, '*&^%$', '', 0, False, object(), 'Q', 'QQ', '3')
 
 >>> from stdnum import grid, iban, imei, imsi, isan, isbn, isil, ismn, issn, 
 >>> ean
 >>> from stdnum import luhn, meid, verhoeff
+>>> from stdnum.br import cpf
+>>> from stdnum.fi import hetu
 >>> from stdnum.iso7064 import mod_11_10, mod_11_2, mod_37_2, mod_37_36, 
 >>> mod_97_10
 >>> from stdnum.nl import bsn, onderwijsnummer, btw
->>> from stdnum.br import cpf
 >>> from stdnum.us import ssn
->>> from stdnum.fi import hetu
 
 Go over each imported module and try every value.
 
-- 
To unsubscribe send an email to
python-stdnum-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/python-stdnum-commits/