diff --git a/app/charts.py b/app/charts.py index 0a3dcb1..71fd611 100644 --- a/app/charts.py +++ b/app/charts.py @@ -35,11 +35,11 @@ # files are served as static assets by the website (see settings.GEO_ASSET_URL_BASE). _GEO_ASSETS: dict[str, dict[str, str]] = { "brazil_states": { - "file": "brazil_states.topojson", + "file": "brasil_estados.topojson", "feature": "uf", }, "brazil_municipalities": { - "file": "brazil_municipalities.topojson", + "file": "brasil_municipios.topojson", "feature": "Munic", }, } diff --git a/tests/app/test_charts.py b/tests/app/test_charts.py index 58eacc9..e0becfb 100644 --- a/tests/app/test_charts.py +++ b/tests/app/test_charts.py @@ -198,7 +198,7 @@ def test_points_at_the_static_geo_url(self): node = _geo_url_node("brazil_states") assert node == { - "url": f"{settings.GEO_ASSET_URL_BASE}/brazil_states.topojson", + "url": f"{settings.GEO_ASSET_URL_BASE}/brasil_estados.topojson", "format": {"type": "topojson", "feature": "uf"}, } @@ -207,7 +207,7 @@ def test_carries_no_inline_geometry(self): node = _geo_url_node("brazil_municipalities") assert "values" not in node - assert node["url"].endswith("/brazil_municipalities.topojson") + assert node["url"].endswith("/brasil_municipios.topojson") class TestGeoStubNode: