Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
added reasons why certain warnings were filtered in 'pytest.ini' (#2431)
Rahul.devf9520f789b9a
diff --git a/api/pytest.ini b/api/pytest.iniindex 13025b508..199876971 100644--- a/api/pytest.ini+++ b/api/pytest.ini@@ -4,5 +4,12 @@ DJANGO_SETTINGS_MODULE = conf.settingspythonpath = .filterwarnings=+# Ignore warnings related to unverified HTTPS requests.+# Reason: This warning is suppressed to avoid raising warnings when making HTTP requests+# to servers with invalid or self-signed SSL certificates. It allows the tests to proceed+# without being interrupted by these warnings.ignore:Unverified HTTPS request+# Ignore warnings about the upcoming change in the default value of 'USE_TZ' setting in Django 5.0.+# Reason: The reason this warning is suppressed is actually because we already set USE_TZ to True.+# Since no changes are required on our part, we can safely ignore this to declutter the logs.ignore:The default value of USE_TZ will change from False to True in Django 5.0diff --git a/ingestion_server/pytest.ini b/ingestion_server/pytest.iniindex 3ffe34947..ce6e0538e 100644--- a/ingestion_server/pytest.ini+++ b/ingestion_server/pytest.ini@@ -2,4 +2,8 @@pythonpath = .filterwarnings=+# Ignore warnings related to unverified HTTPS requests.+# Reason: This warning is suppressed to avoid raising warnings when making HTTP requests+# to servers with invalid or self-signed SSL certificates. It allows the tests to proceed+# without being interrupted by these warnings.ignore:Unverified HTTPS request