[dashboard] open in edit mode when adding a chart (#4772)

* [dashboard] open in edit mode when adding a chart

* Move dashboard unit tests to their own file

* fix tests

* Better URL management
This commit is contained in:
Maxime Beauchemin
2018-04-07 12:55:05 -07:00
committed by GitHub
parent bd2cb9aada
commit 627bdb2eb3
8 changed files with 316 additions and 258 deletions

View File

@@ -136,8 +136,8 @@ class DruidTests(SupersetTestCase):
instance.query_dict = {}
instance.query_builder.last_query.query_dict = {}
resp = self.get_resp('/superset/explore/druid/{}/'.format(
datasource_id))
resp = self.get_resp(
'/superset/explore/druid/{}/'.format(datasource_id))
self.assertIn('test_datasource', resp)
form_data = {
'viz_type': 'table',