ashb commented on a change in pull request #4583: [AIRFLOW-3746] Fix to prevent 
missing container exit
URL: https://github.com/apache/airflow/pull/4583#discussion_r267745766
 
 

 ##########
 File path: tests/operators/test_docker_operator.py
 ##########
 @@ -121,6 +124,7 @@ def test_execute_unicode_logs(self, client_class_mock):
         client_mock.create_container.return_value = {'Id': 'some_id'}
         client_mock.create_host_config.return_value = mock.Mock()
         client_mock.images.return_value = []
+        client_mock.attach.return_value = ['unicode container log 😁']
         client_mock.logs.return_value = ['unicode container log 😁']
 
 Review comment:
   ```suggestion
   ```

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

Reply via email to