mirror of
https://github.com/apache/superset.git
synced 2026-04-27 20:14:54 +00:00
chore(dao): Organize DAOs according to SIP-92 (#24331)
Co-authored-by: JUST.in DO IT <justin.park@airbnb.com>
This commit is contained in:
@@ -216,7 +216,7 @@ def test_get_dataset_access_denied(
|
||||
assert data["message"] == message
|
||||
|
||||
|
||||
@patch("superset.datasource.dao.DatasourceDAO.get_datasource")
|
||||
@patch("superset.daos.datasource.DatasourceDAO.get_datasource")
|
||||
def test_wrong_endpoint(mock_get_datasource, test_client, login_as_admin, dataset):
|
||||
dataset.default_endpoint = "another_endpoint"
|
||||
mock_get_datasource.return_value = dataset
|
||||
|
||||
Reference in New Issue
Block a user