betodealmeida commented on a change in pull request #17624:
URL: https://github.com/apache/superset/pull/17624#discussion_r760695626



##########
File path: tests/integration_tests/charts/commands_tests.py
##########
@@ -85,6 +86,49 @@ def test_export_chart_command(self, mock_g):
             "version": "1.0.0",
         }
 
+    @patch("superset.security.manager.g")
+    @pytest.mark.usefixtures("load_energy_table_with_slice")
+    def test_export_chart_with_query_context(self, mock_g):

Review comment:
       Oh, my bad.... I read the docstring below and got confused because it 
says "Test that charts that have a query_context are imported correctly". Sorry 
about that!

##########
File path: tests/integration_tests/charts/commands_tests.py
##########
@@ -85,6 +86,49 @@ def test_export_chart_command(self, mock_g):
             "version": "1.0.0",
         }
 
+    @patch("superset.security.manager.g")
+    @pytest.mark.usefixtures("load_energy_table_with_slice")
+    def test_export_chart_with_query_context(self, mock_g):
+        """Test that charts that have a query_context are imported correctly"""

Review comment:
       ```suggestion
           """Test that charts that have a query_context are exported 
correctly"""
   ```




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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to