mistercrunch commented on a change in pull request #9255: fix: change database 
save in DatasourceEditor
URL: 
https://github.com/apache/incubator-superset/pull/9255#discussion_r390439817
 
 

 ##########
 File path: tests/fixtures/datasource.py
 ##########
 @@ -18,6 +18,7 @@
 datasource_post = {
     "id": None,
     "column_formats": {"ratio": ".2%"},
+    "database": {"id": 1},
 
 Review comment:
   Yes, actually here I replace it in the test itself. Not sure what the proper 
approach here, a function that receives an object and returns a fixture? I'm 
guessing with DAO abstraction we can get more creative on generating proper 
fixtures.

----------------------------------------------------------------
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]

Reply via email to