sortega commented on code in PR #68568:
URL: https://github.com/apache/airflow/pull/68568#discussion_r3435923358
##########
airflow-core/tests/unit/models/test_dagrun.py:
##########
@@ -4323,7 +4323,8 @@ def test_stats_tags_without_team_name(self, dag_maker):
dr = dag_maker.create_dagrun()
tags = dr.stats_tags
assert "team_name" not in tags
- assert tags == {"dag_id": "test_dag", "run_type": "manual"}
+ assert tags["dag_id"] == "test_dag"
+ assert tags["run_type"] == "manual"
Review Comment:
Sure, I've done that. Personally I prefer grouping tests in classes but it's
not the spirit of the codebase.
--
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]