mik-laj commented on a change in pull request #21785:
URL: https://github.com/apache/airflow/pull/21785#discussion_r817118117



##########
File path: tests/providers/alibaba/cloud/hooks/test_oss.py
##########
@@ -35,6 +35,7 @@ def setUp(self):
         try:
             self.hook = OSSHook(region=TEST_REGION, oss_conn_id=TEST_CONN_ID)
             self.hook.object_exists(key='test-obj', bucket_name=TEST_BUCKET)
+            print(self.hook.read_key(TEST_BUCKET, 'test-obj'))

Review comment:
       Can you add a real assertion here instead printing text?

##########
File path: tests/providers/alibaba/cloud/hooks/test_oss.py
##########
@@ -35,6 +35,7 @@ def setUp(self):
         try:
             self.hook = OSSHook(region=TEST_REGION, oss_conn_id=TEST_CONN_ID)
             self.hook.object_exists(key='test-obj', bucket_name=TEST_BUCKET)
+            print(self.hook.read_key(TEST_BUCKET, 'test-obj'))

Review comment:
       Can you add a real assertion here instead of printing text?




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


Reply via email to