Skip to content

Commit 4e6ee34

Browse files
test_get_catalogs for SEA
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
1 parent 7d10756 commit 4e6ee34

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

tests/e2e/test_driver.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -541,8 +541,15 @@ def test_get_schemas(self):
541541
finally:
542542
cursor.execute("DROP DATABASE IF EXISTS {}".format(database_name))
543543

544-
def test_get_catalogs(self):
545-
with self.cursor({}) as cursor:
544+
@pytest.mark.parametrize(
545+
"backend_params",
546+
[
547+
{},
548+
{"use_sea": True},
549+
],
550+
)
551+
def test_get_catalogs(self, backend_params):
552+
with self.cursor(extra_params=backend_params) as cursor:
546553
cursor.catalogs()
547554
cursor.fetchall()
548555
catalogs_desc = cursor.description

0 commit comments

Comments
 (0)