From 1c2692168694cfcf0b53741788fa882d4b39320c Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 29 Jul 2020 10:32:46 +0200 Subject: pytest: Use new strict flags --- pytest.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pytest.ini') diff --git a/pytest.ini b/pytest.ini index 8c6b7853b..4db4a2217 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,6 +1,6 @@ [pytest] log_level = NOTSET -addopts = --strict --instafail --benchmark-columns=Min,Max,Median +addopts = --strict-markers --strict-config --instafail --benchmark-columns=Min,Max,Median testpaths = tests markers = gui: Tests using the GUI (e.g. spawning widgets) -- cgit v1.2.3-54-g00ecf From 7cae34f829307fe758b7c7335cb6f292b4046bc3 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 29 Jul 2020 11:30:35 +0200 Subject: pytest: Set required_plugins --- pytest.ini | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'pytest.ini') diff --git a/pytest.ini b/pytest.ini index 4db4a2217..a034a27b3 100644 --- a/pytest.ini +++ b/pytest.ini @@ -2,6 +2,13 @@ log_level = NOTSET addopts = --strict-markers --strict-config --instafail --benchmark-columns=Min,Max,Median testpaths = tests +required_plugins = + pytest-bdd + pytest-benchmark + pytest-instafail + pytest-mock + pytest-qt + pytest-rerunfailures markers = gui: Tests using the GUI (e.g. spawning widgets) posix: Tests which only can run on a POSIX OS. -- cgit v1.2.3-54-g00ecf