Skip to content

Commit 660a51f

Browse files
remove incompatible tests (catalog name required for SEA metadata queries)
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
1 parent ccd5793 commit 660a51f

File tree

1 file changed

+4
-31
lines changed

1 file changed

+4
-31
lines changed

tests/e2e/test_driver.py

Lines changed: 4 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -386,17 +386,8 @@ def test_create_table_will_return_empty_result_set(self, extra_params):
386386
finally:
387387
cursor.execute("DROP TABLE IF EXISTS {}".format(table_name))
388388

389-
@pytest.mark.parametrize(
390-
"backend_params",
391-
[
392-
{},
393-
{
394-
"use_sea": True,
395-
},
396-
],
397-
)
398-
def test_get_tables(self, backend_params):
399-
with self.cursor(backend_params) as cursor:
389+
def test_get_tables(self):
390+
with self.cursor({}) as cursor:
400391
table_name = "table_{uuid}".format(uuid=str(uuid4()).replace("-", "_"))
401392
table_names = [table_name + "_1", table_name + "_2"]
402393

@@ -441,17 +432,8 @@ def test_get_tables(self, backend_params):
441432
for table in table_names:
442433
cursor.execute("DROP TABLE IF EXISTS {}".format(table))
443434

444-
@pytest.mark.parametrize(
445-
"backend_params",
446-
[
447-
{},
448-
{
449-
"use_sea": True,
450-
},
451-
],
452-
)
453-
def test_get_columns(self, backend_params):
454-
with self.cursor(backend_params) as cursor:
435+
def test_get_columns(self):
436+
with self.cursor({}) as cursor:
455437
table_name = "table_{uuid}".format(uuid=str(uuid4()).replace("-", "_"))
456438
table_names = [table_name + "_1", table_name + "_2"]
457439

@@ -562,15 +544,6 @@ def test_escape_single_quotes(self):
562544
rows = cursor.fetchall()
563545
assert rows[0]["col_1"] == "you're"
564546

565-
@pytest.mark.parametrize(
566-
"backend_params",
567-
[
568-
{},
569-
{
570-
"use_sea": True,
571-
},
572-
],
573-
)
574547
def test_get_schemas(self, backend_params):
575548
with self.cursor(backend_params) as cursor:
576549
database_name = "db_{uuid}".format(uuid=str(uuid4()).replace("-", "_"))

0 commit comments

Comments
 (0)