diff options
author | inwit <inwit@sindominio.net> | 2022-02-10 18:09:52 +0100 |
---|---|---|
committer | inwit <inwit@sindominio.net> | 2022-02-10 18:09:52 +0100 |
commit | 3cbb7194b0cd26819e1452df0f773bc21c4b4737 (patch) | |
tree | 9a0b2dec65375e6e9461f86a73d3a33e512cc349 | |
parent | 514a4a05fffdc4a1e7f4a060af30ac4a16429024 (diff) | |
download | qutebrowser-3cbb7194b0cd26819e1452df0f773bc21c4b4737.tar.gz qutebrowser-3cbb7194b0cd26819e1452df0f773bc21c4b4737.zip |
Apply the requested changes
-rw-r--r-- | qutebrowser/config/configdata.yml | 2 | ||||
-rw-r--r-- | tests/unit/misc/test_editor.py | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/qutebrowser/config/configdata.yml b/qutebrowser/config/configdata.yml index 30f1e2d11..fb38f5a96 100644 --- a/qutebrowser/config/configdata.yml +++ b/qutebrowser/config/configdata.yml @@ -1404,7 +1404,7 @@ editor.encoding: editor.remove_file: default: true type: Bool - desc: Whether to delete the temporary file upon closing the editor. + desc: Delete the temporary file upon closing the editor. ## fileselect diff --git a/tests/unit/misc/test_editor.py b/tests/unit/misc/test_editor.py index 5ed8b834f..1dce96de6 100644 --- a/tests/unit/misc/test_editor.py +++ b/tests/unit/misc/test_editor.py @@ -81,8 +81,7 @@ class TestFileHandling: assert filename.exists() assert filename.name.startswith('qutebrowser-editor-') editor._proc._proc.finished.emit(0, QProcess.NormalExit) - if config_stub.val.editor.remove_file: - assert filename.exists() != config_stub.val.editor.remove_file + assert filename.exists() != config_stub.val.editor.remove_file @pytest.mark.parametrize('touch', [True, False]) def test_with_filename(self, editor, tmp_path, touch): |