summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2022-03-04 09:57:57 +0100
committerFlorian Bruhin <me@the-compiler.org>2022-03-06 22:56:50 +0100
commit2e5eab3dcc7d4e759a949716f5ef098dc8bb8be7 (patch)
tree3a954ebe17021e62eaf868f36663e61c5437a7fc
parent44c7578bb2eea5b015778f5d1d348dd27e1e84e2 (diff)
downloadqutebrowser-2e5eab3dcc7d4e759a949716f5ef098dc8bb8be7.tar.gz
qutebrowser-2e5eab3dcc7d4e759a949716f5ef098dc8bb8be7.zip
Fix lint
-rw-r--r--qutebrowser/config/configdata.yml9
-rw-r--r--tests/end2end/test_invocations.py26
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,