@@ -1418,7 +1418,7 @@ def columns(table_name):
14181418 "get_data_objects" ,
14191419 return_value = [
14201420 DataObject (
1421- schema = "test_schema " ,
1421+ schema = "sqlmesh__test_schema " ,
14221422 name = f"test_schema__test_model__{ snapshot .version } " ,
14231423 type = "table" ,
14241424 )
@@ -1500,7 +1500,7 @@ def test_migrate_view(
15001500 "sqlmesh.core.engine_adapter.base.EngineAdapter.get_data_objects" ,
15011501 return_value = [
15021502 DataObject (
1503- schema = "test_schema " ,
1503+ schema = "sqlmesh__test_schema " ,
15041504 name = f"test_schema__test_model__{ snapshot .version } " ,
15051505 type = "view" ,
15061506 )
@@ -1950,7 +1950,7 @@ def columns(table_name):
19501950 "sqlmesh.core.engine_adapter.base.EngineAdapter.get_data_objects" ,
19511951 return_value = [
19521952 DataObject (
1953- schema = "test_schema " ,
1953+ schema = "sqlmesh__test_schema " ,
19541954 name = f"test_schema__test_model__{ snapshot .version } " ,
19551955 type = DataObjectType .TABLE ,
19561956 )
@@ -2037,7 +2037,7 @@ def columns(table_name):
20372037 "sqlmesh.core.engine_adapter.base.EngineAdapter.get_data_objects" ,
20382038 return_value = [
20392039 DataObject (
2040- schema = "test_schema " ,
2040+ schema = "sqlmesh__test_schema " ,
20412041 name = f"test_schema__test_model__{ snapshot .version } " ,
20422042 type = DataObjectType .TABLE ,
20432043 )
@@ -4016,7 +4016,7 @@ def test_migrate_snapshot(snapshot: Snapshot, mocker: MockerFixture, adapter_moc
40164016
40174017 adapter_mock .get_data_objects .return_value = [
40184018 DataObject (
4019- schema = "test_schema " ,
4019+ schema = "sqlmesh__db " ,
40204020 name = f"db__model__{ new_snapshot .version } " ,
40214021 type = DataObjectType .TABLE ,
40224022 )
@@ -4154,7 +4154,7 @@ def test_migrate_managed(adapter_mock, make_snapshot, mocker: MockerFixture):
41544154
41554155 adapter_mock .get_data_objects .return_value = [
41564156 DataObject (
4157- schema = "test_schema " ,
4157+ schema = "sqlmesh__test_schema " ,
41584158 name = f"test_schema__test_model__{ snapshot .version } " ,
41594159 type = DataObjectType .MANAGED_TABLE ,
41604160 )
@@ -4380,12 +4380,12 @@ def columns(table_name):
43804380 "sqlmesh.core.engine_adapter.base.EngineAdapter.get_data_objects" ,
43814381 return_value = [
43824382 DataObject (
4383- schema = "test_schema " ,
4383+ schema = "sqlmesh__test_schema " ,
43844384 name = f"test_schema__test_model__{ snapshot_1 .version } " ,
43854385 type = DataObjectType .TABLE ,
43864386 ),
43874387 DataObject (
4388- schema = "test_schema " ,
4388+ schema = "sqlmesh__test_schema " ,
43894389 name = f"test_schema__test_model_2__{ snapshot_2 .version } " ,
43904390 type = DataObjectType .TABLE ,
43914391 ),
0 commit comments