From 2e5eab3dcc7d4e759a949716f5ef098dc8bb8be7 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 4 Mar 2022 09:57:57 +0100 Subject: Fix lint --- qutebrowser/config/configdata.yml | 9 ++++++--- tests/end2end/test_invocations.py | 26 ++++++++++++++------------ 2 files changed, 20 insertions(+), 15 deletions(-) diff --git a/qutebrowser/config/configdata.yml b/qutebrowser/config/configdata.yml index e4caf05af..28df8da0e 100644 --- a/qutebrowser/config/configdata.yml +++ b/qutebrowser/config/configdata.yml @@ -316,9 +316,12 @@ qt.chromium.sandboxing: `config.py`, not via `:set`. See the Chromium documentation for more details: - - Linux: https://chromium.googlesource.com/chromium/src/+/HEAD/docs/linux/sandboxing.md - - Windows: https://chromium.googlesource.com/chromium/src/+/HEAD/docs/design/sandbox.md - - FAQ (Windows-centric): https://chromium.googlesource.com/chromium/src/+/HEAD/docs/design/sandbox_faq.md + - Linux: + https://chromium.googlesource.com/chromium/src/+/HEAD/docs/linux/sandboxing.md + - Windows: + https://chromium.googlesource.com/chromium/src/+/HEAD/docs/design/sandbox.md + - FAQ (Windows-centric): + https://chromium.googlesource.com/chromium/src/+/HEAD/docs/design/sandbox_faq.md qt.highdpi: type: Bool diff --git a/tests/end2end/test_invocations.py b/tests/end2end/test_invocations.py index 9ea7ff8fa..ca7e91df5 100644 --- a/tests/end2end/test_invocations.py +++ b/tests/end2end/test_invocations.py @@ -829,19 +829,21 @@ def test_json_logging_without_debug(request, quteproc_new, runtime_tmpdir): @pytest.mark.qtwebkit_skip -@pytest.mark.parametrize('sandboxing, has_namespaces, has_seccomp, has_yama, expected_result', [ - pytest.param( - 'enable-all', - True, True, True, - "You are adequately sandboxed.", - marks=pytest.mark.skipif( - testutils.disable_seccomp_bpf_sandbox(), - reason="Full sandboxing not supported", +@pytest.mark.parametrize( + 'sandboxing, has_namespaces, has_seccomp, has_yama, expected_result', [ + pytest.param( + 'enable-all', + True, True, True, + "You are adequately sandboxed.", + marks=pytest.mark.skipif( + testutils.disable_seccomp_bpf_sandbox(), + reason="Full sandboxing not supported", + ), ), - ), - ('disable-seccomp-bpf', True, False, True, "You are NOT adequately sandboxed."), - ('disable-all', False, False, False, "You are NOT adequately sandboxed."), -]) + ('disable-seccomp-bpf', True, False, True, "You are NOT adequately sandboxed."), + ('disable-all', False, False, False, "You are NOT adequately sandboxed."), + ] +) def test_sandboxing( request, quteproc_new, sandboxing, has_namespaces, has_seccomp, has_yama, expected_result, -- cgit v1.2.3-54-g00ecf