mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore: Improve chart data API + schemas + tests (#9599)
* Make all fields optional in QueryObject and fix having_druid schema * fix: datasource type sql to table * lint * Add missing fields * Refactor tests * Linting * Refactor query context fixtures * Add typing to test func
This commit is contained in:
@@ -385,7 +385,7 @@ class RequestAccessTests(SupersetTestCase):
|
||||
)
|
||||
self.assertEqual(
|
||||
"[Superset] Access to the datasource {} was granted".format(
|
||||
self.get_table(ds_1_id).full_name
|
||||
self.get_table_by_id(ds_1_id).full_name
|
||||
),
|
||||
call_args[2]["Subject"],
|
||||
)
|
||||
@@ -426,7 +426,7 @@ class RequestAccessTests(SupersetTestCase):
|
||||
)
|
||||
self.assertEqual(
|
||||
"[Superset] Access to the datasource {} was granted".format(
|
||||
self.get_table(ds_2_id).full_name
|
||||
self.get_table_by_id(ds_2_id).full_name
|
||||
),
|
||||
call_args[2]["Subject"],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user