diff --git a/tests/test_countries.py b/tests/test_countries.py index 1822c915..deb522da 100644 --- a/tests/test_countries.py +++ b/tests/test_countries.py @@ -19,8 +19,9 @@ def test_countries_add(): """Check that countries added to ISO 3166 can be found""" assert countries.get(name="Kosovo").name == "Kosovo" + assert countries.get(name="Kosovo").name == "KOS" with pytest.raises(AttributeError): - countries.get(name="Kosovo").alpha_3 + countries.get(name="Kosovo").alpha_2 @pytest.mark.parametrize("alpha_2_eu, alpha_2", [("EL", "GR"), ("UK", "GB")])