chore: Change get_table_names/get_view_names return type (#22085)

This commit is contained in:
John Bodley
2022-11-18 12:41:21 -08:00
committed by GitHub
parent e990690dde
commit 7e54b88a51
12 changed files with 76 additions and 62 deletions

View File

@@ -767,7 +767,7 @@ class TestDatasetApi(SupersetTestCase):
with patch.object(
dialect, "get_view_names", wraps=dialect.get_view_names
) as patch_get_view_names:
patch_get_view_names.return_value = ["test_case_view"]
patch_get_view_names.return_value = {"test_case_view"}
self.login(username="admin")
table_data = {