@@ -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 :
@@ -242,9 +242,9 @@ def test_plan_restate_model(runner, tmp_path):
242242 assert result .exit_code == 0
243243 assert_duckdb_test (result )
244244 assert "No changes to plan: project files match the `prod` environment" in result .output
245- assert "sqlmesh_example.full_model evaluated in " in result .output
246- assert_model_batches_executed (result )
247- assert_target_env_updated (result )
245+ assert "sqlmesh_example.full_model [full refresh " in result .output
246+ assert_model_batches_evaluated (result )
247+ assert_env_views_updated (result )
248248
249249
250250@pytest .mark .parametrize ("flag" , ["--skip-backfill" , "--dry-run" ])
@@ -282,7 +282,7 @@ def test_plan_auto_apply(runner, tmp_path):
282282
283283 # confirm verbose output not present
284284 assert "sqlmesh_example.seed_model created" not in result .output
285- assert "sqlmesh_example.seed_model promoted " not in result .output
285+ assert "sqlmesh_example.seed_model updated " not in result .output
286286
287287
288288def test_plan_verbose (runner , tmp_path ):
@@ -294,7 +294,7 @@ def test_plan_verbose(runner, tmp_path):
294294 )
295295 assert_plan_success (result )
296296 assert "sqlmesh_example.seed_model created" in result .output
297- assert "sqlmesh_example.seed_model promoted " in result .output
297+ assert "sqlmesh_example.seed_model updated " in result .output
298298
299299
300300def test_plan_very_verbose (runner , tmp_path , copy_to_temp_path ):
@@ -396,7 +396,7 @@ def test_plan_dev_create_from_virtual(runner, tmp_path):
396396 )
397397 assert result .exit_code == 0
398398 assert_new_env (result , "dev2" , "dev" , initialize = False )
399- assert_target_env_updated (result )
399+ assert_env_views_updated (result )
400400 assert_virtual_update (result )
401401
402402
@@ -533,7 +533,7 @@ def test_plan_dev_no_changes(runner, tmp_path):
533533 )
534534 assert result .exit_code == 0
535535 assert_new_env (result , "dev" , initialize = False )
536- assert_target_env_updated (result )
536+ assert_env_views_updated (result )
537537 assert_virtual_update (result )
538538
539539
@@ -552,8 +552,8 @@ def test_plan_nonbreaking(runner, tmp_path):
552552 assert "+ 'a' AS new_col" in result .output
553553 assert "Directly Modified: sqlmesh_example.incremental_model (Non-breaking)" in result .output
554554 assert "sqlmesh_example.full_model (Indirect Non-breaking)" in result .output
555- assert "sqlmesh_example.incremental_model evaluated in " in result .output
556- assert "sqlmesh_example.full_model evaluated in " not in result .output
555+ assert "sqlmesh_example.incremental_model [insert " in result .output
556+ assert "sqlmesh_example.full_model evaluated [full refresh " not in result .output
557557 assert_backfill_success (result )
558558
559559
@@ -610,8 +610,8 @@ def test_plan_breaking(runner, tmp_path):
610610 assert result .exit_code == 0
611611 assert "+ item_id + 1 AS item_id," in result .output
612612 assert "Directly Modified: sqlmesh_example.full_model (Breaking)" in result .output
613- assert "sqlmesh_example.full_model evaluated in " in result .output
614- assert "sqlmesh_example.incremental_model evaluated in " not in result .output
613+ assert "sqlmesh_example.full_model [full refresh " in result .output
614+ assert "sqlmesh_example.incremental_model [insert " not in result .output
615615 assert_backfill_success (result )
616616
617617
@@ -649,8 +649,8 @@ def test_plan_dev_select(runner, tmp_path):
649649 assert "+ item_id + 1 AS item_id," not in result .output
650650 assert "Directly Modified: sqlmesh_example__dev.full_model (Breaking)" not in result .output
651651 # only incremental_model backfilled
652- assert "sqlmesh_example__dev.incremental_model evaluated in " in result .output
653- assert "sqlmesh_example__dev.full_model evaluated in " not in result .output
652+ assert "sqlmesh_example__dev.incremental_model [insert " in result .output
653+ assert "sqlmesh_example__dev.full_model [full refresh " not in result .output
654654 assert_backfill_success (result )
655655
656656
@@ -688,8 +688,8 @@ def test_plan_dev_backfill(runner, tmp_path):
688688 "Directly Modified: sqlmesh_example__dev.incremental_model (Non-breaking)" in result .output
689689 )
690690 # only incremental_model backfilled
691- assert "sqlmesh_example__dev.incremental_model evaluated in " in result .output
692- assert "sqlmesh_example__dev.full_model evaluated in " not in result .output
691+ assert "sqlmesh_example__dev.incremental_model [insert " in result .output
692+ assert "sqlmesh_example__dev.full_model [full refresh " not in result .output
693693 assert_backfill_success (result )
694694
695695
@@ -718,7 +718,7 @@ def test_run_dev(runner, tmp_path, flag):
718718 # Confirm backfill occurs when we run non-backfilled dev env
719719 result = runner .invoke (cli , ["--log-file-dir" , tmp_path , "--paths" , tmp_path , "run" , "dev" ])
720720 assert result .exit_code == 0
721- assert_model_batches_executed (result )
721+ assert_model_batches_evaluated (result )
722722
723723
724724@time_machine .travel (FREEZE_TIME )
@@ -750,7 +750,7 @@ def test_run_cron_elapsed(runner, tmp_path):
750750 result = runner .invoke (cli , ["--log-file-dir" , tmp_path , "--paths" , tmp_path , "run" ])
751751
752752 assert result .exit_code == 0
753- assert_model_batches_executed (result )
753+ assert_model_batches_evaluated (result )
754754
755755
756756def test_clean (runner , tmp_path ):
0 commit comments