Skip to content

IBAN Validation fails on Burundi, Djibouti, Russia, Somalia and Sudan #399

Closed
@rbetancourt27

Description

@rbetancourt27

I'm using stdnum to validate IBAN in my own repo so to test it before going on production I make some tests with a list of IBANs from this site: from this list I got 83 countries which 5 of them failed on testing. Is this expected? I tried other ways to validate these IBANs and are correct. My code is something like this:

from stdnum.iban import is_valid
# For example in this case a failing number would be DJ2110002010010409943020008
def test(self, number):
  assert is_valid(number=number, check_country=True)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions