dpgaspar commented on a change in pull request #8941: [dashboards] New, export
api
URL:
https://github.com/apache/incubator-superset/pull/8941#discussion_r366195580
##########
File path: tests/dashboard_api_tests.py
##########
@@ -423,3 +423,40 @@ def test_get_related_fail(self):
rv = self.client.get(uri)
self.assertEqual(rv.status_code, 404)
+
+ def test_export(self):
+ """
+ Dashboard API: Test dashboard export
+ """
+ self.login(username="admin")
+ argument = [1, 2]
+ uri = f"api/v1/dashboard/export/?q={prison.dumps(argument)}"
Review comment:
exactly
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]