potiuk commented on issue #5770: [AIRFLOW-5162] GCS Hook Upload Method Improvement URL: https://github.com/apache/airflow/pull/5770#issuecomment-529091883 This is the error from Travis. So it does seem to be related to your change. What I recommend - setup Breeze (see BREEZE.rst) and try to run/fix this test ``` ====================================================================== 12) FAIL: test_upload_string (tests.contrib.hooks.test_gcs_hook.TestGoogleCloudStorageHookUpload) ---------------------------------------------------------------------- Traceback (most recent call last): /usr/local/lib/python3.6/unittest/mock.py line 1183 in patched return func(*args, **keywargs) tests/contrib/hooks/test_gcs_hook.py line 633 in test_upload_string content_type='text/plain' /usr/local/lib/python3.6/unittest/mock.py line 824 in assert_called_once_with raise AssertionError(msg) AssertionError: Expected 'upload_from_string' to be called once. Called 0 times. -------------------- >> begin captured logging << -------------------- airflow.contrib.hooks.gcs_hook.GoogleCloudStorageHook: INFO: Data stream uploaded to test_object in test_bucket bucket --------------------- >> end captured logging << --------------------- ===================================================================== ```
---------------------------------------------------------------- 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
