English names: orchestration (cycle, context, runner, repositories), its steps, fields and CLI, recomputation, follow_up and reports
This commit is contained in:
@@ -6,7 +6,7 @@ latest version of each, the bands by the rules' cut points).
|
||||
|
||||
Fixtures: each case's database, migrated, with only its rows: staging rows through the load (a patient for each
|
||||
`pac_id` named) and cohort builds and risk estimates as they are; its rule overrides in `def_parametro`; dbt's views
|
||||
created by the cycle (`catalogos` … `modelos`; needs `DBT_MANIFEST`).
|
||||
created by the cycle (`catalogs` … `event_models`; needs `DBT_MANIFEST`).
|
||||
"""
|
||||
|
||||
import json
|
||||
@@ -70,8 +70,8 @@ def test_each_case_answers_what_its_rules_say(tmp_path, sin_supresion, url, case
|
||||
if not manifest:
|
||||
pytest.skip("DBT_MANIFEST isn't set: `dbt compile` in Transformation writes it")
|
||||
base = base_de("cacu", tmp_path, rows_of(case))
|
||||
base.correr("catalogos", "cargar", "registro", "definiciones", "modelos", parametros=sin_supresion,
|
||||
permitir_sin_definir=True)
|
||||
base.run("catalogs", "load", "registry", "definitions", "event_models", parameters=sin_supresion,
|
||||
allow_undecided=True)
|
||||
with base.motor.begin() as connection:
|
||||
for key, value in case.get("parametros", {}).items():
|
||||
connection.execute(text("update def_parametro set valor = :v where clave = :k"),
|
||||
|
||||
Reference in New Issue
Block a user