kaxil commented on a change in pull request #6396: [AIRFLOW-5726] Delete table 
as file name in RedshiftToS3Transfer
URL: https://github.com/apache/airflow/pull/6396#discussion_r348641390
 
 

 ##########
 File path: tests/operators/test_redshift_to_s3_operator.py
 ##########
 @@ -31,7 +32,8 @@ class TestRedshiftToS3Transfer(unittest.TestCase):
 
     @mock.patch("boto3.session.Session")
     @mock.patch("airflow.hooks.postgres_hook.PostgresHook.run")
-    def test_execute(self, mock_run, mock_session):
+    @parameterized([(True, ), (False, )])
 
 Review comment:
   ```suggestion
       @parameterized.expand([(True, ), (False, )])
   ```

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to