diff options
author | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2019-07-28 23:31:12 +0200 |
---|---|---|
committer | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2019-07-28 23:31:12 +0200 |
commit | ee9bdb4f21212f81b341166e9c6407e5e323d34c (patch) | |
tree | b6540a6db7e2294a0ebc616f7f9d5b45226ec01d /pytest.ini | |
parent | a1d32f7c0f89aa9691d2ab94eb9bcb551c28bfdc (diff) | |
download | cherrypy-git-ee9bdb4f21212f81b341166e9c6407e5e323d34c.tar.gz |
Add filterwarnings to pytest config
Diffstat (limited to 'pytest.ini')
-rw-r--r-- | pytest.ini | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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/ |