Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2013-06-07 18:24:14 +0200
committerArthur de Jong <arthur@arthurdejong.org>2013-06-07 18:24:14 +0200
commit37a2afd6f970c73680209e212cb425ac2c92dbec (patch)
treebf8a69e120aa8f52974311d6bd4e96e23809d4e3
parent90b7c4af1c48a74f15c4dff9fcf959fc69da7aac (diff)
The robustness test were moved to the general tests
-rw-r--r--tests/test_iso7064.doctest16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/test_iso7064.doctest b/tests/test_iso7064.doctest
index 7ccbda2..58e2adb 100644
--- a/tests/test_iso7064.doctest
+++ b/tests/test_iso7064.doctest
@@ -66,19 +66,3 @@ These normal tests of Mod 37, 2 should just work
>>> mod_37_2.calc_check_digit('G123498654321')
'H'
-
-
-Furthermore the is_valid() method should be fairly robust against invalid
-junk passed:
-
->>> testvalues = ( None, '*&^%$', False, object() )
->>> [ x for x in testvalues if mod_11_10.is_valid(x) ]
-[]
->>> [ x for x in testvalues if mod_11_2.is_valid(x) ]
-[]
->>> [ x for x in testvalues if mod_37_2.is_valid(x) ]
-[]
->>> [ x for x in testvalues if mod_37_36.is_valid(x) ]
-[]
->>> [ x for x in testvalues if mod_97_10.is_valid(x) ]
-[]