qutebrowser/tests/unit/misc
Ryan Roden-Corrent 38bb3673db Preserve a backup if editor callback fails.
Currently the editor deletes its temp file whenever editing is finished.
With this patch, the file will not be deleted if the editor callback
encounters an exception.

One example is if the tab containing the edited element is closed. The
editor errors with "Edited element vanished", but with this patch it
will also print "Backup at ..." so the user does not lose their work.

Resolves #1596.

Supersedes #3641, using the cleaner approach started in #1677.
2018-03-12 08:34:50 -04:00
..
test_autoupdate.py Update copyright years 2018-02-05 12:19:50 +01:00
test_checkpyver.py Update copyright years 2018-02-05 12:19:50 +01:00
test_cmdhistory.py Update copyright years 2018-02-05 12:19:50 +01:00
test_crashdialog.py Update copyright years 2018-02-05 12:19:50 +01:00
test_earlyinit.py Update copyright years 2018-02-05 12:19:50 +01:00
test_editor.py Preserve a backup if editor callback fails. 2018-03-12 08:34:50 -04:00
test_guiprocess.py Update copyright years 2018-02-05 12:19:50 +01:00
test_ipc.py Update copyright years 2018-02-05 12:19:50 +01:00
test_keyhints.py Update copyright years 2018-02-05 12:19:50 +01:00
test_lineparser.py Update copyright years 2018-02-05 12:19:50 +01:00
test_miscwidgets.py Capitalize Escape in TestFullscreenNotification 2018-03-04 20:21:57 +01:00
test_msgbox.py Update copyright years 2018-02-05 12:19:50 +01:00
test_objects.py Update copyright years 2018-02-05 12:19:50 +01:00
test_pastebin.py Paste version information privately 2018-02-26 23:09:55 +01:00
test_readline.py Update copyright years 2018-02-05 12:19:50 +01:00
test_sessions.py Update copyright years 2018-02-05 12:19:50 +01:00
test_split_hypothesis.py Update copyright years 2018-02-05 12:19:50 +01:00
test_split.py Update copyright years 2018-02-05 12:19:50 +01:00
test_sql.py Update copyright years 2018-02-05 12:19:50 +01:00
test_utilcmds.py Update copyright years 2018-02-05 12:19:50 +01:00