Compare commits

...

1 Commits

Author SHA1 Message Date
rodrigo 8bc0b06e7b La prueba de figuras de TEA recorre todas las figuras de cada indicador
Una composición de un solo grupo ofrece ahora tres figuras
(indicadores_kit: fig_c2_donas y fig_c2_barras además de la apilada).

Pruebas: WebApi 139 passed.

CSO5.5
2026-10-13 21:56:31 +00:00
+5 -6
View File
@@ -52,13 +52,12 @@ def test_listar_indicadores(client):
@pytest.mark.parametrize("indicador", sorted(DEFINICIONES))
def test_figura_de_cada_indicador(client, indicador):
(figura,) = figuras_de(DEFINICIONES[indicador])
for figura in figuras_de(DEFINICIONES[indicador]):
response = _figura(client, indicador, figura, f"?periodos={PERIODOS}&tema=oscuro")
response = _figura(client, indicador, figura, f"?periodos={PERIODOS}&tema=oscuro")
assert response.status_code == 200
assert response.mimetype == "application/json"
assert "data" in response.get_json()
assert response.status_code == 200, figura
assert response.mimetype == "application/json"
assert "data" in response.get_json()
def test_figura_sin_periodos_usa_todos_los_reportes(client):