tuzonghua commented on code in PR #62424:
URL: https://github.com/apache/airflow/pull/62424#discussion_r3033356935
##########
providers/google/tests/unit/google/cloud/operators/test_gcs.py:
##########
@@ -128,8 +128,8 @@ def test_delete_objects(self, mock_hook):
mock_hook.return_value.list.assert_not_called()
mock_hook.return_value.delete.assert_has_calls(
calls=[
- mock.call(bucket_name=TEST_BUCKET, object_name=MOCK_FILES[0]),
- mock.call(bucket_name=TEST_BUCKET, object_name=MOCK_FILES[1]),
+ mock.call(bucket_name=TEST_BUCKET, object_name=MOCK_FILES[0],
ignore_error=False),
+ mock.call(bucket_name=TEST_BUCKET, object_name=MOCK_FILES[1],
ignore_error=False),
],
Review Comment:
Added test with assertion
--
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]