This is an automated email from the ASF dual-hosted git repository.

dill0wn pushed a commit to branch dw/8503
in repository https://gitbox.apache.org/repos/asf/allura.git

commit 0e3ef835b57a010c69824a6bd36b402e38c265b2
Author: Dillon Walls <[email protected]>
AuthorDate: Wed Mar 8 02:31:01 2023 +0000

    [#8503] pytest - update configuration of which warnings to ignore
---
 pytest.ini | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/pytest.ini b/pytest.ini
index df269e9ad..1ad2b5ecf 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -20,7 +20,13 @@
 # https://docs.python.org/3/using/cmdline.html#cmdoption-w
 # https://docs.pytest.org/en/6.2.x/reference.html#ini-options-ref
 filterwarnings =
-    ignore::DeprecationWarning
+    ignore::DeprecationWarning:html5lib.filters.sanitizer
+    # https://bizxinfo.atlassian.net/browse/SF-6067
+    ignore::DeprecationWarning:ming
+    # not sure why timermiddleware is surfacing pymongo warnings, but it does:
+    ignore:insert is deprecated. Use insert_one or insert_many 
instead.:DeprecationWarning:timermiddleware
+    ignore:update is deprecated. Use replace_one, update_one or update_many 
instead.:DeprecationWarning:timermiddleware
+    ignore:remove is deprecated. Use delete_one or delete_many 
instead.:DeprecationWarning:timermiddleware
 
 addopts = --pyargs -p no:flaky
 

Reply via email to