Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2022-10-19 21:06:27 +0200
committerArthur de Jong <arthur@arthurdejong.org>2022-10-19 21:07:40 +0200
commit1003033fa0e97726d92f47231f96cf02fb35869a (patch)
treeeb2b585f243c5ac59efd7dd72836de0d046535f5
parent163604522d40d8a999e814b6d02d69203281e1e6 (diff)
Update Fødselsnummer test case for date in future
The future was now. This problem was pushed forwards to October 2039.
-rw-r--r--tests/test_no_fodselsnummer.doctest4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_no_fodselsnummer.doctest b/tests/test_no_fodselsnummer.doctest
index bca21cf..610e633 100644
--- a/tests/test_no_fodselsnummer.doctest
+++ b/tests/test_no_fodselsnummer.doctest
@@ -91,9 +91,9 @@ InvalidComponent: The birthdate century cannot be determined
Traceback (most recent call last):
...
InvalidComponent: This number is an FH-number, and does not contain birth date information by design.
->>> fodselsnummer.validate('19102270846')
+>>> fodselsnummer.validate('18103970861')
Traceback (most recent call last):
- ...
+ ...
InvalidComponent: The birth date information is valid, but this person has not been born yet.