Skip to content

Commit

Permalink
Removed deprecation warning catching in test_db_cleanup (apache#41909)
Browse files Browse the repository at this point in the history
  • Loading branch information
dirrao authored Sep 1, 2024
1 parent 9a66882 commit 2b03469
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/utils/test_db_cleanup.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,10 +297,6 @@ def test__skip_archive(self, skip_archive, expected_archives):
assert len(session.query(model).all()) == 5
assert len(_get_archived_table_names(["dag_run"], session)) == expected_archives

@pytest.mark.filterwarnings(
# This test case might import some deprecated modules, ignore it
"ignore:This module is deprecated.*:airflow.exceptions.RemovedInAirflow3Warning"
)
def test_no_models_missing(self):
"""
1. Verify that for all tables in `airflow.models`, we either have them enabled in db cleanup,
Expand Down

0 comments on commit 2b03469

Please sign in to comment.