mirror of
https://github.com/apache/superset.git
synced 2026-04-13 13:18:25 +00:00
feat: add event_logger to test_connection and create_database commands (#13468)
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
This commit is contained in:
@@ -819,7 +819,7 @@ class TestDatabaseApi(SupersetTestCase):
|
||||
self.assertEqual(rv.headers["Content-Type"], "application/json; charset=utf-8")
|
||||
response = json.loads(rv.data.decode("utf-8"))
|
||||
expected_response = {
|
||||
"message": "Could not load database driver: broken",
|
||||
"message": "Could not load database driver: BaseEngineSpec",
|
||||
}
|
||||
self.assertEqual(response, expected_response)
|
||||
|
||||
@@ -834,7 +834,7 @@ class TestDatabaseApi(SupersetTestCase):
|
||||
self.assertEqual(rv.headers["Content-Type"], "application/json; charset=utf-8")
|
||||
response = json.loads(rv.data.decode("utf-8"))
|
||||
expected_response = {
|
||||
"message": "Could not load database driver: mssql+pymssql",
|
||||
"message": "Could not load database driver: MssqlEngineSpec",
|
||||
}
|
||||
self.assertEqual(response, expected_response)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user