jscheffl commented on code in PR #43681:
URL: https://github.com/apache/airflow/pull/43681#discussion_r1841111360


##########
providers/tests/amazon/aws/log/test_s3_task_handler.py:
##########
@@ -128,7 +128,10 @@ def test_read(self):
         ti.state = TaskInstanceState.SUCCESS
         log, metadata = self.s3_task_handler.read(ti)
         actual = log[0][0][-1]
-        expected = "*** Found logs in s3:\n***   * 
s3://bucket/remote/log/location/1.log\nLog line"
+        expected = " INFO - ::group::Log message source details\n"
+        expected += "*** Found logs in s3:\n***   * 
s3://bucket/remote/log/location/1.log\n"
+        expected += " INFO - ::endgroup::\n"
+        expected += "Log line"

Review Comment:
   ...so for example like:
   ```suggestion
           assert "*** Found logs in s3:\n***   * 
s3://bucket/remote/log/location/1.log" in actual
           assert "Log line" in actual
   ```



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