forked from mozilla-services/socorro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pytest.ini
19 lines (19 loc) · 918 Bytes
/
pytest.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# pytest configuration for running webapp tests
[pytest]
# -rsxX - show skipped, failed, and passed tests
# --tb=native - print native traceback
addopts = -rsxX --tb=native
DJANGO_SETTINGS_MODULE = crashstats.settings.test
# Transform all warnings into errors
filterwarnings =
error
# CachedStaticFilesStorage is deprecated in favor of
# ManifestStaticFilesStorage, removal scheduled for Django 3.1
ignore::PendingDeprecationWarning:django[.*]
# configman kicks up errors if there's configuration stuff that isn't used
# and that breaks the webapp's configman glue
ignore:::configman[.*]
# boto3 kicks up ResourceWarning: unclosed socket, https://github.com/boto/boto3/issues/454
ignore:unclosed:ResourceWarning
# boto3 kicks up DeprecationWarning about collections, https://github.com/boto/botocore/issues/1885
ignore:Using or importing the ABCs:DeprecationWarning