diff --git a/pynfe/data/MunIBGE/MunIBGE-UF51.txt b/pynfe/data/MunIBGE/MunIBGE-UF51.txt index a092d9fb..bdddbabb 100644 --- a/pynfe/data/MunIBGE/MunIBGE-UF51.txt +++ b/pynfe/data/MunIBGE/MunIBGE-UF51.txt @@ -1,4 +1,4 @@ -5100102 Acorizal +5100102 Acorizal 5100201 Água Boa 5100250 Alta Floresta 5100300 Alto Araguaia @@ -15,6 +15,7 @@ 5101605 Barão de Melgaço 5101704 Barra do Bugres 5101803 Barra do Garças +5101837 Boa Esperança do Norte 5101852 Bom Jesus do Araguaia 5101902 Brasnorte 5102504 Cáceres @@ -139,3 +140,4 @@ 5108857 Nova Marilândia 5108907 Nova Maringá 5108956 Nova Monte Verde + diff --git a/tests/test_utils.py b/tests/test_utils.py index 459d5155..2e1fcad6 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -93,6 +93,9 @@ def test_normalizar_municipio_acento_circunflexo_na_letra_o(self): def test_normalizar_municipio_apostrofo(self): self.assertEqual(normalizar_municipio("Lambari D'Oeste"), "LAMBARI DOESTE") + def test_normalizar_municipio_boa_esperanca_do_norte(self): + self.assertEqual(normalizar_municipio("Boa Esperança do Norte"),"BOA ESPERANCA DO NORTE") + # obter_codigo_por_municipio def test_obter_codigo_por_municipio_saopaulo_3550308(self): self.assertEqual(obter_codigo_por_municipio("São Paulo", "SP"), "3550308")