superset/tests/charts
David Aaron Suddjian cc9103b0e2
feat(dashboard): API to get a dashboard's charts (#12978)
* feat(dashboard): get endpoint for a dashboard's charts

* temporary debugging fetch on the frontend

* attempted fixes

* singular -> plural derp

* plural -> singular derp derp

* docstring changes

* change return, no id

* move log above query

* add get_charts to include_route_methods /)_-)

* add get charts api

* result not response

* refactor test helper function to a mixin

* add test for new endpoint

* fix test when running in isolation

* correct comment

* rename test

* more tests, handle dashboard not found

* simplify test to use new helper function

* remove debugging code from frontend

* update docstring

* attempt a doc fix

* add id to api docs

* fix docs

* use pytest fixture

* why oh why does test order matter here, idk

* writing a schema for the endpoint

* more efficient fetching of charts

* testing tweaks

Co-authored-by: Phillip Kelley-Dotson <pkelleydotson@yahoo.com>
2021-02-15 11:41:59 -08:00
..
__init__.py [tests] refactor, change datasets and charts to it's own folder (#9487) 2020-04-08 08:44:35 +01:00
api_tests.py feat(dashboard): API to get a dashboard's charts (#12978) 2021-02-15 11:41:59 -08:00
commands_tests.py fix(dashboard): use datasource id from slice metadata (#12483) 2021-01-13 18:49:51 +02:00
schema_tests.py refactor: remove queryFields in QueryObject and update chart control configs (#12091) 2020-12-22 17:10:19 -08:00