python-stdnum branch master updated. 1.17-43-g1003033
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
python-stdnum branch master updated. 1.17-43-g1003033
- 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, python-stdnum-commits [at] lists.arthurdejong.org
- Subject: python-stdnum branch master updated. 1.17-43-g1003033
- Date: Wed, 19 Oct 2022 21:12:47 +0200 (CEST)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "python-stdnum".
The branch, master has been updated
via 1003033fa0e97726d92f47231f96cf02fb35869a (commit)
from 163604522d40d8a999e814b6d02d69203281e1e6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://arthurdejong.org/git/python-stdnum/commit/?id=1003033fa0e97726d92f47231f96cf02fb35869a
commit 1003033fa0e97726d92f47231f96cf02fb35869a
Author: Arthur de Jong <arthur@arthurdejong.org>
Date: Wed Oct 19 21:06:27 2022 +0200
Update Fødselsnummer test case for date in future
The future was now. This problem was pushed forwards to October 2039.
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.
-----------------------------------------------------------------------
Summary of changes:
tests/test_no_fodselsnummer.doctest | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
python-stdnum
- python-stdnum branch master updated. 1.17-43-g1003033,
Commits of the python-stdnum project