OmerJog commented on a change in pull request #4535: [AIRFLOW-865] - Configure 
FTP connection mode
URL: https://github.com/apache/airflow/pull/4535#discussion_r249269778
 
 

 ##########
 File path: tests/contrib/hooks/test_ftp_hook.py
 ##########
 @@ -115,7 +115,9 @@ def test_retrieve_file(self):
         _buffer = six.StringIO('buffer')
         with fh.FTPHook() as ftp_hook:
             ftp_hook.retrieve_file(self.path, _buffer)
-        self.conn_mock.retrbinary.assert_called_once_with('RETR path', 
_buffer.write)
+        self.conn_mock.retrbinary.assert_called_once_with(
+            'RETR path',
+            _buffer.write)
 
 Review comment:
   @zhongjiajie I changed it as it gave flake8 errors "line too long"

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

Reply via email to