Lee-W commented on code in PR #60022:
URL: https://github.com/apache/airflow/pull/60022#discussion_r2726939608
##########
airflow-core/tests/unit/listeners/test_asset_listener.py:
##########
@@ -57,7 +57,7 @@ def test_asset_listener_on_asset_changed_gets_calls(
)
ti.run()
- assert len(asset_listener.changed) == 1
- assert asset_listener.changed[0].uri == asset_uri
- assert asset_listener.changed[0].name == asset_name
- assert asset_listener.changed[0].group == asset_group
+ assert len(asset_listener.changed) == 2
+ assert asset_listener.changed[-1].uri == asset_uri
+ assert asset_listener.changed[-1].name == asset_name
+ assert asset_listener.changed[-1].group == asset_group
Review Comment:
This fails the test and doesn't seem to look right to me. Thus, I reverted
this part. @Jkhall81 Let me know if I missed anything. Thanks!
--
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]