From 4e3b08dca8c2ed084e76351a36a0ef516577258a Mon Sep 17 00:00:00 2001 From: Adrian Moennich Date: Fri, 30 Sep 2022 19:20:43 +0200 Subject: [PATCH] Fix tests (flask deprecation warning) --- citadel/pytest.ini | 1 + livesync/pytest.ini | 1 + payment_paypal/pytest.ini | 1 + storage_s3/pytest.ini | 1 + vc_zoom/pytest.ini | 1 + 5 files changed, 5 insertions(+) diff --git a/citadel/pytest.ini b/citadel/pytest.ini index 2235e7b..c8baed0 100644 --- a/citadel/pytest.ini +++ b/citadel/pytest.ini @@ -8,6 +8,7 @@ indico_plugins = livesync citadel ; fail if there are warnings, but ignore ones that are likely just noise filterwarnings = error + ignore:.*_app_ctx_stack.*:DeprecationWarning ignore::sqlalchemy.exc.SAWarning ignore::UserWarning ignore:Creating a LegacyVersion has been deprecated:DeprecationWarning diff --git a/livesync/pytest.ini b/livesync/pytest.ini index aa53f70..42b005f 100644 --- a/livesync/pytest.ini +++ b/livesync/pytest.ini @@ -8,6 +8,7 @@ indico_plugins = livesync ; fail if there are warnings, but ignore ones that are likely just noise filterwarnings = error + ignore:.*_app_ctx_stack.*:DeprecationWarning ignore::sqlalchemy.exc.SAWarning ignore::UserWarning ignore:Creating a LegacyVersion has been deprecated:DeprecationWarning diff --git a/payment_paypal/pytest.ini b/payment_paypal/pytest.ini index cb103c3..c6898ee 100644 --- a/payment_paypal/pytest.ini +++ b/payment_paypal/pytest.ini @@ -8,6 +8,7 @@ indico_plugins = payment_paypal ; fail if there are warnings, but ignore ones that are likely just noise filterwarnings = error + ignore:.*_app_ctx_stack.*:DeprecationWarning ignore::sqlalchemy.exc.SAWarning ignore::UserWarning ignore:Creating a LegacyVersion has been deprecated:DeprecationWarning diff --git a/storage_s3/pytest.ini b/storage_s3/pytest.ini index dc5fb25..f35e126 100644 --- a/storage_s3/pytest.ini +++ b/storage_s3/pytest.ini @@ -8,6 +8,7 @@ indico_plugins = storage_s3 ; fail if there are warnings, but ignore ones that are likely just noise filterwarnings = error + ignore:.*_app_ctx_stack.*:DeprecationWarning ignore::sqlalchemy.exc.SAWarning ignore::UserWarning ignore:Creating a LegacyVersion has been deprecated:DeprecationWarning diff --git a/vc_zoom/pytest.ini b/vc_zoom/pytest.ini index 02e28ae..cb0d750 100644 --- a/vc_zoom/pytest.ini +++ b/vc_zoom/pytest.ini @@ -8,6 +8,7 @@ indico_plugins = vc_zoom ; fail if there are warnings, but ignore ones that are likely just noise filterwarnings = error + ignore:.*_app_ctx_stack.*:DeprecationWarning ignore::sqlalchemy.exc.SAWarning ignore::UserWarning ignore:Creating a LegacyVersion has been deprecated:DeprecationWarning