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


##########
providers/fab/tests/unit/fab/auth_manager/test_security.py:
##########
@@ -1096,7 +1101,9 @@ def test_permissions_work_for_dags_with_dot_in_dagname(
             role_name=role_name,
         ) as user:
             dag1 = DagModel(dag_id=dag_id, bundle_name=bundle_name)
+            dag1.timetable_type = ""
             dag2 = DagModel(dag_id=dag_id_2, bundle_name=bundle_name)
+            dag2.timetable_type = ""

Review Comment:
   ...or as this seems to be a tideus job making this for all hundrets of 
tests.. if no `schedule` attribute is given in DagModel constructor how about 
setting the timetable_type in the constructor directly such that not all tests 
need to be adjusted?



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