mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
Feat: Adding table comment and columns comment for SQLLab (#10844)
* Adding table comment and columns comment for backend * fix mypy * Fix CI * adding wider catch * use logger * fix lint
This commit is contained in:
@@ -500,6 +500,7 @@ class TestDatabaseApi(SupersetTestCase):
|
||||
self.assertEqual(rv.status_code, 200)
|
||||
response = json.loads(rv.data.decode("utf-8"))
|
||||
self.assertEqual(response["name"], "birth_names")
|
||||
self.assertIsNone(response["comment"])
|
||||
self.assertTrue(len(response["columns"]) > 5)
|
||||
self.assertTrue(response.get("selectStar").startswith("SELECT"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user