mirror of
https://github.com/apache/superset.git
synced 2026-04-10 20:06:13 +00:00
chore: remove marshmallow-enum dependency and bump FAB (#24499)
This commit is contained in:
committed by
GitHub
parent
036294a191
commit
0ddc0a6738
@@ -711,7 +711,11 @@ class TestDatabaseApi(SupersetTestCase):
|
||||
rv = self.client.post(uri, json=database_data)
|
||||
response = json.loads(rv.data.decode("utf-8"))
|
||||
assert response == {
|
||||
"message": {"configuration_method": ["Invalid enum value BAD_FORM"]}
|
||||
"message": {
|
||||
"configuration_method": [
|
||||
"Must be one of: sqlalchemy_form, dynamic_form."
|
||||
]
|
||||
}
|
||||
}
|
||||
assert rv.status_code == 400
|
||||
|
||||
@@ -1113,7 +1117,11 @@ class TestDatabaseApi(SupersetTestCase):
|
||||
rv = self.client.put(uri, json=database_data)
|
||||
response = json.loads(rv.data.decode("utf-8"))
|
||||
assert response == {
|
||||
"message": {"configuration_method": ["Invalid enum value BAD_FORM"]}
|
||||
"message": {
|
||||
"configuration_method": [
|
||||
"Must be one of: sqlalchemy_form, dynamic_form."
|
||||
]
|
||||
}
|
||||
}
|
||||
assert rv.status_code == 400
|
||||
|
||||
@@ -2873,7 +2881,6 @@ class TestDatabaseApi(SupersetTestCase):
|
||||
},
|
||||
"port": {
|
||||
"description": "Database port",
|
||||
"format": "int32",
|
||||
"maximum": 65536,
|
||||
"minimum": 0,
|
||||
"type": "integer",
|
||||
@@ -2948,7 +2955,6 @@ class TestDatabaseApi(SupersetTestCase):
|
||||
},
|
||||
"port": {
|
||||
"description": "Database port",
|
||||
"format": "int32",
|
||||
"maximum": 65536,
|
||||
"minimum": 0,
|
||||
"type": "integer",
|
||||
@@ -3023,7 +3029,6 @@ class TestDatabaseApi(SupersetTestCase):
|
||||
},
|
||||
"port": {
|
||||
"description": "Database port",
|
||||
"format": "int32",
|
||||
"maximum": 65536,
|
||||
"minimum": 0,
|
||||
"type": "integer",
|
||||
|
||||
Reference in New Issue
Block a user