@@ -132,18 +132,18 @@ def assert_model_versions_created(result) -> None:
132132 assert "Model versions created successfully" in result .output
133133
134134
135- def assert_model_batches_executed (result ) -> None :
136- assert "Model batches executed successfully" in result .output
135+ def assert_model_batches_evaluated (result ) -> None :
136+ assert "Model batches evaluated successfully" in result .output
137137
138138
139- def assert_target_env_updated (result ) -> None :
140- assert "Target environment updated successfully" in result .output
139+ def assert_env_views_updated (result ) -> None :
140+ assert "Environment views updated successfully" in result .output
141141
142142
143143def assert_backfill_success (result ) -> None :
144144 assert_model_versions_created (result )
145- assert_model_batches_executed (result )
146- assert_target_env_updated (result )
145+ assert_model_batches_evaluated (result )
146+ assert_env_views_updated (result )
147147
148148
149149def assert_plan_success (result , new_env = "prod" , from_env = "prod" ) -> None :
@@ -220,9 +220,9 @@ def test_plan_restate_model(runner, tmp_path):
220220 assert result .exit_code == 0
221221 assert_duckdb_test (result )
222222 assert "No changes to plan: project files match the `prod` environment" in result .output
223- assert "sqlmesh_example.full_model evaluated in " in result .output
224- assert_model_batches_executed (result )
225- assert_target_env_updated (result )
223+ assert "sqlmesh_example.full_model [full refresh " in result .output
224+ assert_model_batches_evaluated (result )
225+ assert_env_views_updated (result )
226226
227227
228228@pytest .mark .parametrize ("flag" , ["--skip-backfill" , "--dry-run" ])
@@ -260,7 +260,7 @@ def test_plan_auto_apply(runner, tmp_path):
260260
261261 # confirm verbose output not present
262262 assert "sqlmesh_example.seed_model created" not in result .output
263- assert "sqlmesh_example.seed_model promoted " not in result .output
263+ assert "sqlmesh_example.seed_model updated " not in result .output
264264
265265
266266def test_plan_verbose (runner , tmp_path ):
@@ -272,7 +272,7 @@ def test_plan_verbose(runner, tmp_path):
272272 )
273273 assert_plan_success (result )
274274 assert "sqlmesh_example.seed_model created" in result .output
275- assert "sqlmesh_example.seed_model promoted " in result .output
275+ assert "sqlmesh_example.seed_model updated " in result .output
276276
277277
278278def test_plan_very_verbose (runner , tmp_path , copy_to_temp_path ):
@@ -374,7 +374,7 @@ def test_plan_dev_create_from_virtual(runner, tmp_path):
374374 )
375375 assert result .exit_code == 0
376376 assert_new_env (result , "dev2" , "dev" , initialize = False )
377- assert_target_env_updated (result )
377+ assert_env_views_updated (result )
378378 assert_virtual_update (result )
379379
380380
@@ -511,7 +511,7 @@ def test_plan_dev_no_changes(runner, tmp_path):
511511 )
512512 assert result .exit_code == 0
513513 assert_new_env (result , "dev" , initialize = False )
514- assert_target_env_updated (result )
514+ assert_env_views_updated (result )
515515 assert_virtual_update (result )
516516
517517
@@ -530,8 +530,8 @@ def test_plan_nonbreaking(runner, tmp_path):
530530 assert "+ 'a' AS new_col" in result .output
531531 assert "Directly Modified: sqlmesh_example.incremental_model (Non-breaking)" in result .output
532532 assert "sqlmesh_example.full_model (Indirect Non-breaking)" in result .output
533- assert "sqlmesh_example.incremental_model evaluated in " in result .output
534- assert "sqlmesh_example.full_model evaluated in " not in result .output
533+ assert "sqlmesh_example.incremental_model [insert " in result .output
534+ assert "sqlmesh_example.full_model evaluated [full refresh " not in result .output
535535 assert_backfill_success (result )
536536
537537
@@ -588,8 +588,8 @@ def test_plan_breaking(runner, tmp_path):
588588 assert result .exit_code == 0
589589 assert "+ item_id + 1 AS item_id," in result .output
590590 assert "Directly Modified: sqlmesh_example.full_model (Breaking)" in result .output
591- assert "sqlmesh_example.full_model evaluated in " in result .output
592- assert "sqlmesh_example.incremental_model evaluated in " not in result .output
591+ assert "sqlmesh_example.full_model [full refresh " in result .output
592+ assert "sqlmesh_example.incremental_model [insert " not in result .output
593593 assert_backfill_success (result )
594594
595595
@@ -627,8 +627,8 @@ def test_plan_dev_select(runner, tmp_path):
627627 assert "+ item_id + 1 AS item_id," not in result .output
628628 assert "Directly Modified: sqlmesh_example__dev.full_model (Breaking)" not in result .output
629629 # only incremental_model backfilled
630- assert "sqlmesh_example__dev.incremental_model evaluated in " in result .output
631- assert "sqlmesh_example__dev.full_model evaluated in " not in result .output
630+ assert "sqlmesh_example__dev.incremental_model [insert " in result .output
631+ assert "sqlmesh_example__dev.full_model [full refresh " not in result .output
632632 assert_backfill_success (result )
633633
634634
@@ -666,8 +666,8 @@ def test_plan_dev_backfill(runner, tmp_path):
666666 "Directly Modified: sqlmesh_example__dev.incremental_model (Non-breaking)" in result .output
667667 )
668668 # only incremental_model backfilled
669- assert "sqlmesh_example__dev.incremental_model evaluated in " in result .output
670- assert "sqlmesh_example__dev.full_model evaluated in " not in result .output
669+ assert "sqlmesh_example__dev.incremental_model [insert " in result .output
670+ assert "sqlmesh_example__dev.full_model [full refresh " not in result .output
671671 assert_backfill_success (result )
672672
673673
@@ -696,7 +696,7 @@ def test_run_dev(runner, tmp_path, flag):
696696 # Confirm backfill occurs when we run non-backfilled dev env
697697 result = runner .invoke (cli , ["--log-file-dir" , tmp_path , "--paths" , tmp_path , "run" , "dev" ])
698698 assert result .exit_code == 0
699- assert_model_batches_executed (result )
699+ assert_model_batches_evaluated (result )
700700
701701
702702@time_machine .travel (FREEZE_TIME )
@@ -728,7 +728,7 @@ def test_run_cron_elapsed(runner, tmp_path):
728728 result = runner .invoke (cli , ["--log-file-dir" , tmp_path , "--paths" , tmp_path , "run" ])
729729
730730 assert result .exit_code == 0
731- assert_model_batches_executed (result )
731+ assert_model_batches_evaluated (result )
732732
733733
734734def test_clean (runner , tmp_path ):
0 commit comments