mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore: Allow only iterables for BaseDAO.delete() (#25844)
This commit is contained in:
@@ -192,4 +192,4 @@ class TestDashboardDatasetSecurity(DashboardTestCase):
|
||||
self.assert200(rv)
|
||||
data = json.loads(rv.data.decode("utf-8"))
|
||||
self.assertEqual(0, data["count"])
|
||||
DashboardDAO.delete(dashboard)
|
||||
DashboardDAO.delete([dashboard])
|
||||
|
||||
Reference in New Issue
Block a user