summaryrefslogtreecommitdiff
path: root/pytest.ini
diff options
context:
space:
mode:
authorSviatoslav Sydorenko <wk@sydorenko.org.ua>2019-07-28 23:31:12 +0200
committerSviatoslav Sydorenko <wk@sydorenko.org.ua>2019-07-28 23:31:12 +0200
commitee9bdb4f21212f81b341166e9c6407e5e323d34c (patch)
treeb6540a6db7e2294a0ebc616f7f9d5b45226ec01d /pytest.ini
parenta1d32f7c0f89aa9691d2ab94eb9bcb551c28bfdc (diff)
downloadcherrypy-git-ee9bdb4f21212f81b341166e9c6407e5e323d34c.tar.gz
Add filterwarnings to pytest config
Diffstat (limited to 'pytest.ini')
-rw-r--r--pytest.ini7
1 files changed, 7 insertions, 0 deletions
diff --git a/pytest.ini b/pytest.ini
index 65cbcffe..81fc1778 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -1,6 +1,13 @@
[pytest]
norecursedirs = dist build .tox .eggs
addopts = -v -rxXs -l --junitxml=.test-results/pytest/results.xml --cov=cherrypy --cov-report term-missing:skip-covered --cov-report xml --doctest-modules
+filterwarnings =
+ error
+ ignore:the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses:DeprecationWarning
+ ignore:Use cheroot.test.webtest:DeprecationWarning
+ ignore:Please use assertTrue instead.:DeprecationWarning
+ ignore:This method will be removed in future versions.*:DeprecationWarning
+ ignore:Unable to verify that the server is bound on:UserWarning
doctest_optionflags = ALLOW_UNICODE ELLIPSIS
junit_suite_name = cherrypy_test_suite
testpaths = cherrypy/test/