Skip to content

Commit 2f6ec19

Browse files
move back to old table types
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
1 parent e8038d3 commit 2f6ec19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/test_thrift_backend.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1294,7 +1294,7 @@ def test_get_tables_calls_client_and_handle_execute_response(
12941294
catalog_name="catalog_pattern",
12951295
schema_name="schema_pattern",
12961296
table_name="table_pattern",
1297-
table_types=["VIEW", "TABLE"],
1297+
table_types=["type1", "type2"],
12981298
)
12991299
# Verify the result is a ResultSet
13001300
self.assertEqual(result, mock_result_set.return_value)
@@ -1306,7 +1306,7 @@ def test_get_tables_calls_client_and_handle_execute_response(
13061306
self.assertEqual(req.catalogName, "catalog_pattern")
13071307
self.assertEqual(req.schemaName, "schema_pattern")
13081308
self.assertEqual(req.tableName, "table_pattern")
1309-
self.assertEqual(req.tableTypes, ["VIEW", "TABLE"])
1309+
self.assertEqual(req.tableTypes, ["type1", "type2"])
13101310
# Check response handling
13111311
thrift_backend._handle_execute_response.assert_called_with(
13121312
response, cursor_mock

0 commit comments

Comments
 (0)