chore(security): Renaming schemas_accessible_by_user (#10030)

Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
John Bodley
2020-06-11 11:29:43 -07:00
committed by GitHub
parent c9ee598ac9
commit 54c6ddbdb7
6 changed files with 14 additions and 10 deletions

View File

@@ -963,7 +963,9 @@ class CoreTests(SupersetTestCase):
"The datasource associated with this chart no longer exists",
)
@mock.patch("superset.security.SupersetSecurityManager.schemas_accessible_by_user")
@mock.patch(
"superset.security.SupersetSecurityManager.get_schemas_accessible_by_user"
)
@mock.patch("superset.security.SupersetSecurityManager.database_access")
@mock.patch("superset.security.SupersetSecurityManager.all_datasource_access")
def test_schemas_access_for_csv_upload_endpoint(