From ab4e442602808ec66b2370db2f367de249e4647e Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 18 Aug 2016 18:26:31 +0200 Subject: [PATCH] QtWebEngine: Don't bother running caret.feature --- tests/end2end/features/conftest.py | 3 ++- tests/end2end/features/test_caret_bdd.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/end2end/features/conftest.py b/tests/end2end/features/conftest.py index 844738499..1509a4ddd 100644 --- a/tests/end2end/features/conftest.py +++ b/tests/end2end/features/conftest.py @@ -52,7 +52,8 @@ def pytest_collection_modifyitems(config, items): text = '{}: {}'.format(prefix, marker.args[0]) else: text = prefix - item.add_marker(pytest_mark(webengine, reason=text)) + item.add_marker(pytest_mark(webengine, reason=text, + **marker.kwargs)) @pytest.hookimpl(hookwrapper=True) diff --git a/tests/end2end/features/test_caret_bdd.py b/tests/end2end/features/test_caret_bdd.py index 56dabdd72..aa42241c4 100644 --- a/tests/end2end/features/test_caret_bdd.py +++ b/tests/end2end/features/test_caret_bdd.py @@ -24,7 +24,8 @@ import pytest_bdd as bdd from end2end.features.test_yankpaste_bdd import init_fake_clipboard -pytestmark = pytest.mark.qtwebengine_todo("Caret mode is not implemented") +pytestmark = pytest.mark.qtwebengine_todo("Caret mode is not implemented", + run=False) bdd.scenarios('caret.feature')