Skip to content

Commit

Permalink
Only catch context deprecations in airflow proper
Browse files Browse the repository at this point in the history
  • Loading branch information
uranusjr committed Dec 13, 2021
1 parent f972926 commit 39e07cb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,5 @@ faulthandler_timeout = 480
log_level = INFO
filterwarnings =
error::pytest.PytestCollectionWarning
error::airflow.utils.context.AirflowContextDeprecationWarning
markers =
need_serialized_dag
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ def breeze_test_helper(request):


def pytest_configure(config):
config.addinivalue_line("filterwarnings", "error::airflow.utils.context.AirflowContextDeprecationWarning")
config.addinivalue_line("markers", "integration(name): mark test to run with named integration")
config.addinivalue_line("markers", "backend(name): mark test to run with named backend")
config.addinivalue_line("markers", "system(name): mark test to run with named system")
Expand Down

0 comments on commit 39e07cb

Please sign in to comment.