Skip to content

Commit 004bcce

Browse files
test_get_catalogs
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
1 parent f76d740 commit 004bcce

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

tests/e2e/test_driver.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -562,8 +562,17 @@ def test_get_schemas(self):
562562
finally:
563563
cursor.execute("DROP DATABASE IF EXISTS {}".format(database_name))
564564

565-
def test_get_catalogs(self):
566-
with self.cursor({}) as cursor:
565+
@pytest.mark.parametrize(
566+
"extra_params",
567+
[
568+
{},
569+
{
570+
"use_sea": True,
571+
},
572+
],
573+
)
574+
def test_get_catalogs(self, extra_params):
575+
with self.cursor(extra_params) as cursor:
567576
cursor.catalogs()
568577
cursor.fetchall()
569578
catalogs_desc = cursor.description

0 commit comments

Comments
 (0)