mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
chore(command): Condense delete/bulk-delete operations (#24607)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
This commit is contained in:
@@ -1530,7 +1530,7 @@ class TestDatasetApi(SupersetTestCase):
|
||||
rv = self.delete_assert_metric(uri, "delete")
|
||||
data = json.loads(rv.data.decode("utf-8"))
|
||||
assert rv.status_code == 422
|
||||
assert data == {"message": "Dataset could not be deleted."}
|
||||
assert data == {"message": "Datasets could not be deleted."}
|
||||
db.session.delete(dataset)
|
||||
db.session.commit()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user