Skip to content

Commit

Permalink
Update list
Browse files Browse the repository at this point in the history
  • Loading branch information
ikseek committed Jan 24, 2024
1 parent e12acf4 commit d391f00
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 16 deletions.
9 changes: 1 addition & 8 deletions iso_4217/data/list-one.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ISO_4217 Pblshd="2023-01-01">
<ISO_4217 Pblshd="2024-01-01">
<CcyTbl>
<CcyNtry>
<CtryNm>AFGHANISTAN</CtryNm>
Expand Down Expand Up @@ -1486,13 +1486,6 @@
<CcyNbr>690</CcyNbr>
<CcyMnrUnts>2</CcyMnrUnts>
</CcyNtry>
<CcyNtry>
<CtryNm>SIERRA LEONE</CtryNm>
<CcyNm>Leone</CcyNm>
<Ccy>SLL</Ccy>
<CcyNbr>694</CcyNbr>
<CcyMnrUnts>2</CcyMnrUnts>
</CcyNtry>
<CcyNtry>
<CtryNm>SIERRA LEONE</CtryNm>
<CcyNm>Leone</CcyNm>
Expand Down
9 changes: 8 additions & 1 deletion iso_4217/data/list-three.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ISO_4217 Pblshd="2023-01-01">
<ISO_4217 Pblshd="2024-01-01">
<HstrcCcyTbl>
<HstrcCcyNtry>
<CtryNm>AFGHANISTAN</CtryNm>
Expand Down Expand Up @@ -799,6 +799,13 @@
<CcyNbr>978</CcyNbr>
<WthdrwlDt>2006-10</WthdrwlDt>
</HstrcCcyNtry>
<HstrcCcyNtry>
<CtryNm>SIERRA LEONE</CtryNm>
<CcyNm>Leone</CcyNm>
<Ccy>SLL</Ccy>
<CcyNbr>694</CcyNbr>
<WthdrwlDt>2023-12</WthdrwlDt>
</HstrcCcyNtry>
<HstrcCcyNtry>
<CtryNm>SLOVAKIA</CtryNm>
<CcyNm>Slovak Koruna</CcyNm>
Expand Down
9 changes: 2 additions & 7 deletions tests/test_iso_4217.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@


def test_version():
assert __version__ == "0.5.230101"
assert __version__ == "0.5.240101"


def test_currency_count():
assert len(Currency) == 304


def test_active_currencies_count():
assert sum(bool(c.entities) for c in Currency) == 180
assert sum(bool(c.entities) for c in Currency) == 179


def test_uah():
Expand Down Expand Up @@ -64,8 +64,3 @@ def test_ves_ved():
assert Currency.VES.value == "Bolívar Soberano (VES)"
assert Currency.VED.number == 926
assert Currency.VED.value == "Bolívar Soberano (VED)"


def test_sle():
assert Currency.SLE.number == 925
assert Currency.SLE.value == "Leone (SLE)"

0 comments on commit d391f00

Please sign in to comment.