Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Remove warning filters and let all third-party packages' warning show up
jxltomf8d0b2ac641c
diff --git a/tests/conftest.py b/tests/conftest.pyindex 9bf49b0492..7f86fc65ed 100644--- a/tests/conftest.py+++ b/tests/conftest.py@@ -3,7 +3,6 @@ from unittest.mock import MagicMock, Mockimport pytest-import djangofrom django.contrib.auth.models import Permissionfrom django.contrib.sites.models import Sitefrom django.core.files import File@@ -37,33 +36,6 @@ from saleor.shipping.models import (from saleor.site.models import AuthorizationKey, SiteSettings-def pytest_collection_modifyitems(items):- for item in items:- # Enable deprecation warning which is disabled by Python automatically- # This is to make sure having same behaviour with pytest- item.add_marker(- pytest.mark.filterwarnings('default::DeprecationWarning'))- item.add_marker(- pytest.mark.filterwarnings('default::PendingDeprecationWarning'))-- # Ignore from_db_value deprecation warning in Django 2.X- # since it is not used in saleor, but may used in third-party packages- if django.VERSION[0] == 2:- item.add_marker(pytest.mark.filterwarnings(- 'ignore:'- '.*from_db_value.*:'- 'django.utils.deprecation.RemovedInDjango30Warning'))-- # Ignore is_authenticated() deprecation warning in Django 1.X- # in django-impersonate package- if django.VERSION[0] == 1:- item.add_marker(pytest.mark.filterwarnings(- 'ignore:'- '.*is_authenticated.*:'- 'django.utils.deprecation.RemovedInDjango20Warning:'- 'impersonate.helpers'))--@pytest.fixture(autouse=True)def site_settings(db, settings):"""Create a site and matching site settings.