Skip to content

Commit

Permalink
Merge pull request #6 from artisavotins/master
Browse files Browse the repository at this point in the history
Added Lithuania to list of Eurozone countries
  • Loading branch information
lsbardel committed Jun 14, 2016
2 parents 54c2829 + f6971cb commit 4967e32
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.rst
Expand Up @@ -142,6 +142,7 @@ eurozone is tuple of country ISO codes::
Ireland
Italy
Latvia
Lithuania
Luxembourg
Malta
Netherlands
Expand Down
2 changes: 1 addition & 1 deletion ccy/core/country.py
Expand Up @@ -12,7 +12,7 @@
# using ISO 3166-1 alpha-2 country codes
# see http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
#
eurozone = tuple(('AT BE CY DE EE ES FI FR GR IE IT LU LV MT '
eurozone = tuple(('AT BE CY DE EE ES FI FR GR IE IT LU LV LT MT '
'NL PT SI SK').split(' '))


Expand Down
2 changes: 1 addition & 1 deletion tests/ccytests.py
Expand Up @@ -35,7 +35,7 @@ def testNewCountry(self):
'EU', 'EUR', 'Eurozone')

def test_eurozone(self):
self.assertEqual(len(eurozone), 18)
self.assertEqual(len(eurozone), 19)
for c in eurozone:
self.assertEqual(countryccy(c), 'EUR')

Expand Down

0 comments on commit 4967e32

Please sign in to comment.