Skip to content

Commit

Permalink
Resolve dagbag deprecations in tests (apache#39989)
Browse files Browse the repository at this point in the history
  • Loading branch information
dirrao authored Jun 5, 2024
1 parent f28ee5a commit 45bf7b9
Show file tree
Hide file tree
Showing 3 changed files with 210 additions and 110 deletions.
45 changes: 0 additions & 45 deletions tests/deprecations_ignore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,52 +38,7 @@

# Core
- tests/models/test_cleartasks.py::TestClearTasks::test_dags_clear
- tests/models/test_dag.py::TestDag::test_bulk_write_to_db_interval_save_runtime
- tests/models/test_dag.py::TestDag::test_bulk_write_to_db_max_active_runs
- tests/models/test_dag.py::TestDag::test_clear_dag
- tests/models/test_dag.py::TestDag::test_clear_set_dagrun_state
- tests/models/test_dag.py::TestDag::test_clear_set_dagrun_state_for_mapped_task
- tests/models/test_dag.py::TestDag::test_clear_set_dagrun_state_for_parent_dag
- tests/models/test_dag.py::TestDag::test_clear_set_dagrun_state_for_subdag
- tests/models/test_dag.py::TestDag::test_continuous_schedule_interval_linmits_max_active_runs
- tests/models/test_dag.py::TestDag::test_create_dagrun_run_id_is_generated
- tests/models/test_dag.py::TestDag::test_create_dagrun_when_schedule_is_none_and_empty_start_date
- tests/models/test_dag.py::TestDag::test_dag_handle_callback_crash
- tests/models/test_dag.py::TestDag::test_dag_handle_callback_with_removed_task
- tests/models/test_dag.py::TestDag::test_dag_task_custom_weight_strategy
- tests/models/test_dag.py::TestDag::test_dag_topological_sort_include_subdag_tasks
- tests/models/test_dag.py::TestDag::test_description_from_timetable
- tests/models/test_dag.py::TestDag::test_existing_dag_is_paused_after_limit
- tests/models/test_dag.py::TestDag::test_following_previous_schedule
- tests/models/test_dag.py::TestDag::test_following_previous_schedule_daily_dag_cest_to_cet
- tests/models/test_dag.py::TestDag::test_following_previous_schedule_daily_dag_cet_to_cest
- tests/models/test_dag.py::TestDag::test_following_schedule_datetime_timezone
- tests/models/test_dag.py::TestDag::test_following_schedule_datetime_timezone_utc0530
- tests/models/test_dag.py::TestDag::test_following_schedule_relativedelta
- tests/models/test_dag.py::TestDag::test_following_schedule_relativedelta_with_depr_schedule_interval_decorated_dag
- tests/models/test_dag.py::TestDag::test_following_schedule_relativedelta_with_deprecated_schedule_interval
- tests/models/test_dag.py::TestDag::test_fractional_seconds
- tests/models/test_dag.py::TestDag::test_get_num_task_instances
- tests/models/test_dag.py::TestDag::test_is_paused_subdag
- tests/models/test_dag.py::TestDag::test_next_dagrun_after_fake_scheduled_previous
- tests/models/test_dag.py::TestDag::test_next_dagrun_after_not_for_subdags
- tests/models/test_dag.py::TestDag::test_next_dagrun_info_start_end_dates
- tests/models/test_dag.py::TestDag::test_next_dagrun_info_timetable_exception
- tests/models/test_dag.py::TestDag::test_previous_schedule_datetime_timezone
- tests/models/test_dag.py::TestDag::test_return_date_range_with_num_method
- tests/models/test_dag.py::TestDag::test_schedule_dag_no_previous_runs
- tests/models/test_dag.py::TestDag::test_schedule_dag_once
- tests/models/test_dag.py::TestDag::test_schedule_interval_still_works
- tests/models/test_dag.py::TestDag::test_sync_to_db
- tests/models/test_dag.py::TestDag::test_sync_to_db_default_view
- tests/models/test_dag.py::TestDag::test_timetable_still_works
- tests/models/test_dag.py::TestDag::test_validate_params_on_trigger_dag
- tests/models/test_dag.py::TestQueries::test_count_number_queries
- tests/models/test_dag.py::test_dag_schedule_interval_change_after_init
- tests/models/test_dag.py::test_dag_timetable_match_schedule_interval
- tests/models/test_dag.py::test_iter_dagrun_infos_between_error
- tests/models/test_dagbag.py::TestDagBag::test_load_subdags
- tests/models/test_dagbag.py::TestDagBag::test_skip_cycle_dags
- tests/models/test_mappedoperator.py::test_expand_mapped_task_instance_with_named_index
- tests/models/test_skipmixin.py::TestSkipMixin::test_skip_none_dagrun
- tests/models/test_xcom.py::TestXCom::test_set_serialize_call_old_signature
Expand Down
Loading

0 comments on commit 45bf7b9

Please sign in to comment.