Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix country ISO code for US

Patryk Zawadzki97b07af6c6bc
diff --git a/tests/test_core.py b/tests/test_core.py
index 4b17ba8923..35eb21d2b7 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -21,7 +21,7 @@ def test_get_country_by_ip(ip_data, expected_country, monkeypatch):
@pytest.mark.parametrize('country, expected_currency', [
(Country('PL'), 'PLN'),
- (Country('USA'), 'USD'),
+ (Country('US'), 'USD'),
(Country('GB'), 'GBP')])
def test_get_currency_for_country(country, expected_currency, monkeypatch):
currency = get_currency_for_country(country)