mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
Improve birth example dashboard (#8042)
* Improve birth example dashboard * Fix tests * pylint
This commit is contained in:
committed by
GitHub
parent
51bd34704c
commit
4e7ea3f3e2
@@ -246,7 +246,9 @@ class DashboardTests(SupersetTestCase):
|
||||
.first()
|
||||
)
|
||||
existing_slice = (
|
||||
db.session.query(models.Slice).filter_by(slice_name="Name Cloud").first()
|
||||
db.session.query(models.Slice)
|
||||
.filter_by(slice_name="Girl Name Cloud")
|
||||
.first()
|
||||
)
|
||||
data = {
|
||||
"slice_ids": [new_slice.data["slice_id"], existing_slice.data["slice_id"]]
|
||||
|
||||
Reference in New Issue
Block a user