Skip to content

Commit 23df248

Browse files
adapt tests for latest duckdb
1 parent a8a9c49 commit 23df248

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/core/integration/test_aux_commands.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)