From 5e2ce10fe0d8b227d626aea57797e6f8f1302dfc Mon Sep 17 00:00:00 2001 From: Itz-Agasta Date: Tue, 27 Jan 2026 17:55:51 +0530 Subject: [PATCH] Adds mock grants SQL file for import test --- test/python/tools/test_database_import.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/python/tools/test_database_import.py b/test/python/tools/test_database_import.py index f3d388da..413fac56 100644 --- a/test/python/tools/test_database_import.py +++ b/test/python/tools/test_database_import.py @@ -201,6 +201,8 @@ class TestSetupSQL: """CREATE FUNCTION test() RETURNS bool AS $$ SELECT {{db.reverse_only}} $$ LANGUAGE SQL""") + self.write_sql('grants.sql', "-- Mock grants file for testing\n") + database_import.create_tables(temp_db_conn, self.config, reverse) temp_db_cursor.scalar('SELECT test()') == reverse