chore: remove marshmallow-enum dependency and bump FAB (#24499)

This commit is contained in:
Daniel Vaz Gaspar
2023-06-27 08:37:43 +01:00
committed by GitHub
parent 036294a191
commit 0ddc0a6738
15 changed files with 45 additions and 37 deletions

View File

@@ -1249,7 +1249,11 @@ class TestReportSchedulesApi(SupersetTestCase):
rv = self.post_assert_metric(uri, report_schedule_data, "post")
response = json.loads(rv.data.decode("utf-8"))
assert response == {
"message": {"creation_method": ["Invalid enum value BAD_CREATION_METHOD"]}
"message": {
"creation_method": [
"Must be one of: charts, dashboards, alerts_reports."
]
}
}
assert rv.status_code == 400