From f1d46ab07799ed08a400f5a2cc735d10691225d1 Mon Sep 17 00:00:00 2001 From: nsano-rururu Date: Fri, 4 Jun 2021 19:16:02 +0900 Subject: [PATCH] Bump pytest form 6.1.2 to 6.2.4 --- pytest.ini | 2 ++ requirements-dev.txt | 2 +- tox.ini | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pytest.ini b/pytest.ini index 0ad3341d..259ba35a 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,3 +1,5 @@ [pytest] markers = elasticsearch: mark a test as using elasticsearch. +filterwarnings = + ignore::pytest.PytestUnhandledThreadExceptionWarning \ No newline at end of file diff --git a/requirements-dev.txt b/requirements-dev.txt index f3d183c2..09da6ae2 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -7,7 +7,7 @@ m2r2 pluggy>=0.12.0 pre-commit pylint<2.9 -pytest==6.1.2 +pytest==6.2.4 pytest-xdist==2.2.1 setuptools sphinx_rtd_theme diff --git a/tox.ini b/tox.ini index 32df3ef9..6f42fae2 100644 --- a/tox.ini +++ b/tox.ini @@ -5,7 +5,7 @@ envlist = py39,docs [testenv] deps = -rrequirements-dev.txt commands = - pytest --cov=elastalert --cov-report=term-missing --cov-branch --strict tests/ -n 4 {posargs} + pytest --cov=elastalert --cov-report=term-missing --cov-branch --strict-markers tests/ -n 4 {posargs} flake8 . [testenv:lint]