Lee-W commented on code in PR #44836:
URL: https://github.com/apache/airflow/pull/44836#discussion_r1881401242
##########
tests/jobs/test_scheduler_job.py:
##########
@@ -6319,10 +6319,10 @@ def
test_activate_referenced_assets_with_no_existing_warning(self, session):
)
)
assert dag_warning.message == (
- 'Cannot activate asset AssetModel(name="it\'s also a duplicate",'
- " uri='s3://bucket/key/1', extra={'foo': 'bar'}); uri is already
associated to 'asset1'\n"
- "Cannot activate asset AssetModel(name='asset1', uri"
- "=\"it's duplicate\", extra={'foo': 'bar'}); name is already
associated to 's3://bucket/key/1'"
+ 'Cannot activate asset Asset(name="it\'s also a duplicate",'
+ " uri='s3://bucket/key/1', group='asset', extra={'foo': 'bar'},
watchers=[]); uri is already associated to 'asset1'\n"
Review Comment:
Yep, I'm thinking of the same. Let me rewrite the message
--
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]