You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/core/test_snapshot_evaluator.py
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1402,7 +1402,13 @@ def test_migrate_view(
1402
1402
evaluator=SnapshotEvaluator(adapter)
1403
1403
evaluator.migrate([snapshot], {})
1404
1404
1405
-
adapter.cursor.execute.assert_not_called()
1405
+
adapter.cursor.execute.assert_has_calls(
1406
+
[
1407
+
call(
1408
+
f'CREATE OR REPLACE VIEW "sqlmesh__test_schema"."test_schema__test_model__{snapshot.version}" ("c", "a") AS SELECT "c" AS "c", "a" AS "a" FROM "tbl" AS "tbl"'
0 commit comments