Skip to content

Commit

Permalink
v1.5.0; package feature updates, bug fixes, doc updates, API updates
Browse files Browse the repository at this point in the history
  • Loading branch information
amckenna41 committed Mar 3, 2024
1 parent 902ddc7 commit c2febb8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ packages = find:
install_requies =
iso3166
natsort
thefuzz
unidecode

[options.extras_require]
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
install_requires=[
'iso3166',
'natsort',
'thefuzz',
'unidecode'
],
test_suite=__test_suite__,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_iso3166_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def test_iso3166_2_metadata(self):
"iso3166-2 author email is not correct, expected [email protected], got {}.".format(metadata('iso3166-2')['author-email']))
self.assertEqual(metadata('iso3166-2')['summary'], "A lightweight Python package, and accompanying API, that can be used to access all of the world's most up-to-date and accurate ISO 3166-2 subdivision data, including: name, local name, code, parent code, type, latitude/longitude and flag.",
"iso3166-2 package summary is not correct, got: {}.".format(metadata('iso3166-2')['summary']))
self.assertEqual(metadata('iso3166-2')['keywords'], "iso,iso3166,beautifulsoup,python,pypi,countries,country codes,iso3166-2,iso3166-1,alpha-2,iso3166-updates,subdivisions",
self.assertEqual(metadata('iso3166-2')['keywords'], "iso,iso3166,beautifulsoup,python,pypi,countries,country codes,iso3166-2,iso3166-1,alpha-2,iso3166-updates,subdivisions,regions",
"iso3166-2 keywords are not correct, got:\n{}.".format(metadata('iso3166-2')['keywords']))
self.assertEqual(metadata('iso3166-2')['home-page'], "https://github.com/amckenna41/iso3166-2",
"iso3166-2 home page url is not correct, expected https://github.com/amckenna41/iso3166-2, got {}.".format(metadata('iso3166-2')['home-page']))
Expand Down

0 comments on commit c2febb8

Please sign in to comment.