🚨(pytest) fix or suppress warnings during backend tests
Avoid unnecessary noise from testing processes
This commit is contained in:
committed by
Laurent Bossavit
parent
0f290df24a
commit
fbb4797f29
@@ -140,6 +140,12 @@ python_files = [
|
||||
"test_*.py",
|
||||
"tests.py",
|
||||
]
|
||||
filterwarnings = [
|
||||
# This one can be removed when upgrading to Django 6.0
|
||||
'ignore:The FORMS_URLFIELD_ASSUME_HTTPS transitional setting is deprecated.',
|
||||
# This one can be removed after upgrading DRF to 3.16
|
||||
"ignore:Converter 'drf_format_suffix'"
|
||||
]
|
||||
|
||||
[tool.coverage.run]
|
||||
branch = true
|
||||
|
||||
Reference in New Issue
Block a user