Skip to content

Commit

Permalink
Update bban_format for country FI (joke2k#1220)
Browse files Browse the repository at this point in the history
  • Loading branch information
ALMP-SallaH authored and fcurella committed Aug 4, 2020
1 parent bfe3f8c commit aeb0d59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion faker/providers/bank/fi_FI/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@


class Provider(BankProvider):
bban_format = '################'
bban_format = '##############'
country_code = 'FI'
2 changes: 1 addition & 1 deletion tests/providers/test_bank.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def setUp(self):

def test_bban(self):
bban = self.fake.bban()
assert re.match(r"\d{16}", bban)
assert re.match(r"\d{14}", bban)

def test_iban(self):
iban = self.fake.iban()
Expand Down

0 comments on commit aeb0d59

Please sign in to comment.