Skip to content

Commit

Permalink
Update Fødselsnummer test case for date in future
Browse files Browse the repository at this point in the history
The future was now. This problem was pushed forwards to October 2039.
  • Loading branch information
arthurdejong committed Oct 19, 2022
1 parent 1636045 commit 1003033
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_no_fodselsnummer.doctest
Original file line number Diff line number Diff line change
Expand Up @@ -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.


Expand Down

0 comments on commit 1003033

Please sign in to comment.