diff --git a/python/src/deltachat/testplugin.py b/python/src/deltachat/testplugin.py index d38788361..4ce70f0f0 100644 --- a/python/src/deltachat/testplugin.py +++ b/python/src/deltachat/testplugin.py @@ -74,6 +74,9 @@ def pytest_configure(config): @pytest.hookimpl(hookwrapper=True) def pytest_runtest_setup(self, item): + if item.get_closest_marker("ignored"): + if not item.config.getvalue("ignored"): + pytest.skip("use --ignored to run this test") self.enable_logging(item) yield self.disable_logging(item)