fix(tests): atualizar asserts para versao 1.3.15 e alembic head 0035 apos merge

This commit is contained in:
gti
2026-09-28 22:35:33 -03:00
parent 26405b0144
commit 693cb8b7c1
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ def test_health_is_unavailable_when_database_is_down():
def test_version_endpoint_reports_release_and_fiscal_versions():
body = TestClient(create_app(database_probe=lambda: True)).get("/version").json()
assert body["version"] == "1.3.14" and body["api_compat"] == "1.0" and body["engine_version"] and body["decision_version"]
assert body["version"] == "1.3.15" and body["api_compat"] == "1.0" and body["engine_version"] and body["decision_version"]
def test_production_refuses_the_dev_token(monkeypatch):
+2 -2
View File
@@ -8,11 +8,11 @@ ROOT = Path(__file__).resolve().parents[2]
def test_alembic_master_head_is_single():
"""Garante que na branch master o alembic possui uma única head: 0034_reference_data_registry."""
"""Garante que na branch master o alembic possui uma única head: 0035_cfop_ippt_write_mode."""
cfg = Config(str(ROOT / "central" / "alembic.ini"))
script = ScriptDirectory.from_config(cfg)
heads = script.get_heads()
assert heads == ["0034_reference_data_registry"], f"Esperado head única 0034, obtido: {heads}"
assert heads == ["0035_cfop_ippt_write_mode"], f"Esperado head única 0035, obtido: {heads}"
def test_feature_branch_migration_chains_to_0034():