@@ -1151,6 +1151,7 @@ def test_get_diff_vars_meta_where(self, mock_prod_path_from_manifest, mock_prod_
11511151 mock_model .config .schema_ = None
11521152 mock_model .config .database = None
11531153 mock_model .alias = "a_model_name"
1154+ mock_model .unique_id = "unique_id"
11541155 mock_tdatadiffmodelconfig = Mock ()
11551156 mock_tdatadiffmodelconfig .where_filter = "where"
11561157 mock_tdatadiffmodelconfig .include_columns = ["include" ]
@@ -1187,6 +1188,7 @@ def test_get_diff_vars_meta_unrelated(self, mock_prod_path_from_manifest, mock_p
11871188 mock_model .config .schema_ = None
11881189 mock_model .config .database = None
11891190 mock_model .alias = "a_model_name"
1191+ mock_model .unique_id = "unique_id"
11901192 mock_tdatadiffmodelconfig = Mock ()
11911193 mock_tdatadiffmodelconfig .where_filter = "where"
11921194 mock_tdatadiffmodelconfig .include_columns = ["include" ]
@@ -1234,6 +1236,7 @@ def test_get_diff_vars_meta_none(self, mock_prod_path_from_manifest, mock_prod_p
12341236 mock_dbt_parser .get_pk_from_model .return_value = primary_keys
12351237 mock_dbt_parser .requires_upper = False
12361238 mock_model .meta = None
1239+ mock_model .unique_id = "unique_id"
12371240 mock_dbt_parser .prod_manifest_obj = None
12381241 mock_prod_path_from_config .return_value = ("prod_db" , "prod_schema" )
12391242
@@ -1271,6 +1274,7 @@ def test_get_diff_vars_custom_db(self, mock_prod_path_from_manifest, mock_prod_p
12711274 mock_dbt_parser .get_pk_from_model .return_value = primary_keys
12721275 mock_dbt_parser .requires_upper = False
12731276 mock_model .meta = None
1277+ mock_model .unique_id = "unique_id"
12741278 mock_dbt_parser .prod_manifest_obj = None
12751279 mock_prod_path_from_config .return_value = ("prod_db" , "prod_schema" )
12761280
@@ -1309,6 +1313,7 @@ def test_get_diff_vars_upper(self, mock_prod_path_from_manifest, mock_prod_path_
13091313 mock_dbt_parser .get_pk_from_model .return_value = primary_keys
13101314 mock_dbt_parser .requires_upper = True
13111315 mock_model .meta = None
1316+ mock_model .unique_id = "unique_id"
13121317 mock_dbt_parser .prod_manifest_obj = None
13131318 mock_prod_path_from_config .return_value = ("prod_db" , "prod_schema" )
13141319
@@ -1333,6 +1338,7 @@ def test_get_diff_vars_call_get_prod_path_from_manifest(
13331338 mock_model = Mock ()
13341339 primary_keys = ["a_primary_key" ]
13351340 mock_model .database = "a_dev_db"
1341+ mock_model .unique_id = "unique_id"
13361342 mock_model .schema_ = "a_schema"
13371343 mock_model .config .schema_ = None
13381344 mock_model .config .database = "custom_database"
0 commit comments