File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -287,20 +287,20 @@ def test_destroy(copy_to_temp_path):
287287
288288 # Validate tables have been deleted as well
289289 with pytest .raises (
290- Exception , match = r"Catalog Error: Table with name model_two does not exist! "
290+ Exception , match = r"Catalog Error: Table with name.* model_two.* does not exist"
291291 ):
292292 context .fetchdf ("SELECT * FROM db_1.first_schema.model_two" )
293293 with pytest .raises (
294- Exception , match = r"Catalog Error: Table with name model_one does not exist! "
294+ Exception , match = r"Catalog Error: Table with name.* model_one.* does not exist"
295295 ):
296296 context .fetchdf ("SELECT * FROM db_1.first_schema.model_one" )
297297
298298 with pytest .raises (
299- Exception , match = r"Catalog Error: Table with name model_two does not exist! "
299+ Exception , match = r"Catalog Error: Table with name.* model_two.* does not exist"
300300 ):
301301 context .engine_adapters ["second" ].fetchdf ("SELECT * FROM db_2.second_schema.model_two" )
302302 with pytest .raises (
303- Exception , match = r"Catalog Error: Table with name model_one does not exist! "
303+ Exception , match = r"Catalog Error: Table with name.* model_one.* does not exist"
304304 ):
305305 context .engine_adapters ["second" ].fetchdf ("SELECT * FROM db_2.second_schema.model_one" )
306306
You can’t perform that action at this time.
0 commit comments