mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore: bump majors on celery and Flask (#19168)
* chore: bump celery, Flask, flask-jwt-extended, pyJWT * fix pyJWT breaking change * fix pyJWT breaking change 2 * test * fixed test * fixed test * fixed test * revert since mypy won't pick the correct signature * lint 1 * fix test * fix test * docs and celery config migration * bump FAB to 4.0.0rc3, remove AUTH_STRICT_RESPONSE_CODES * update docs for new celery config keys * downgrade celery to 5.2.2 * ref FAB to final 4.0.0 release * remove conflict left over
This commit is contained in:
committed by
GitHub
parent
2af2d00e85
commit
f37fc1a7f0
@@ -1348,10 +1348,8 @@ class TestDashboardApi(SupersetTestCase, ApiOwnersTestCaseMixin, InsertChartMixi
|
||||
dashboards_ids = get_dashboards_ids(db, ["world_health", "births"])
|
||||
uri = f"api/v1/dashboard/export/?q={prison.dumps(dashboards_ids)}"
|
||||
|
||||
# freeze time to ensure filename is deterministic
|
||||
with freeze_time("2020-01-01T00:00:00Z"):
|
||||
rv = self.get_assert_metric(uri, "export")
|
||||
headers = generate_download_headers("json")["Content-Disposition"]
|
||||
rv = self.get_assert_metric(uri, "export")
|
||||
headers = generate_download_headers("json")["Content-Disposition"]
|
||||
|
||||
assert rv.status_code == 200
|
||||
assert rv.headers["Content-Disposition"] == headers
|
||||
|
||||
Reference in New Issue
Block a user