qutebrowser/tests/end2end/features
Florian Bruhin 6618c3a6e8 Don't use shlex for configtypes.ShellCommand
We accidentally did show the command as a list in to_str(). However, after
correcting that to use shlex.escape, we got ugly qutebrowser command lines
when tabbing to the default value, because of how shlex handles double-escaping:

>>> print(shlex.quote("gvim -f '{}'"))
'gvim -f '"'"'{}'"'"''

While in this case, outputting "gvim -f '{}'" would be much more appropriate, it
doesn't look like we can teach shlex.quote to do that.

Instead, we now only accept a list as input for ShellCommand, at the price that
the user needs to do
  :set editor.command '["gvim", "-f", "{}"]'
instead of
  :set editor.command 'gvim -f {}'

Fixes #2962.
2017-09-14 14:44:24 +02:00
..
adblock.feature Add a modeline to all the *.feature files 2017-03-31 16:16:31 +01:00
backforward.feature Add a modeline to all the *.feature files 2017-03-31 16:16:31 +01:00
caret.feature Adjust test settings 2017-07-04 15:08:02 +02:00
completion.feature Merge branch 'master' into new-config 2017-09-11 18:39:41 +02:00
conftest.py Refactor JS log handling and use a dict for javascript.log 2017-09-14 00:37:01 +02:00
downloads.feature Fix two new-config/master merge resolutions. 2017-09-07 08:58:55 -04:00
editor.feature Add an url. group to settings 2017-07-04 15:08:03 +02:00
hints.feature Refactor JS log handling and use a dict for javascript.log 2017-09-14 00:37:01 +02:00
history.feature Merge remote-tracking branch 'upstream/master' into HEAD 2017-08-06 18:13:49 -04:00
invoke.feature Update some more references to old config options 2017-07-04 16:46:02 +02:00
javascript.feature Refactor JS log handling and use a dict for javascript.log 2017-09-14 00:37:01 +02:00
keyinput.feature Refactor JS log handling and use a dict for javascript.log 2017-09-14 00:37:01 +02:00
marks.feature Mark failing test as flaky on QtWebEngine 2017-04-08 19:29:46 +02:00
misc.feature Fix race condition is :jseval test 2017-09-14 09:33:58 +02:00
navigate.feature Add an url. group to settings 2017-07-04 15:08:03 +02:00
open.feature Bring back searchengine BDD tests 2017-07-04 15:39:07 +02:00
private.feature Merge branch 'master' into new-config 2017-09-09 10:52:02 +02:00
prompts.feature Refactor JS log handling and use a dict for javascript.log 2017-09-14 00:37:01 +02:00
qutescheme.feature Stabilize qute://plainlog test 2017-09-13 21:32:36 +02:00
scroll.feature Refactor JS log handling and use a dict for javascript.log 2017-09-14 00:37:01 +02:00
search.feature Update some more references to old config options 2017-07-04 16:46:02 +02:00
sessions.feature Add (pinned) keyword to 'following tabs open' tests 2017-05-16 20:16:43 -07:00
spawn.feature Fix tests for QProcess changes 2017-07-23 22:10:50 +02:00
tabs.feature Merge remote-tracking branch 'upstream/master' into HEAD 2017-08-06 18:13:49 -04:00
test_adblock_bdd.py Adjust test settings 2017-07-04 15:08:02 +02:00
test_backforward_bdd.py Finally update copyrights... 2017-05-09 21:37:03 +02:00
test_caret_bdd.py Finally update copyrights... 2017-05-09 21:37:03 +02:00
test_completion_bdd.py Add more performance logging to completion. 2017-06-19 07:44:11 -04:00
test_downloads_bdd.py Merge remote-tracking branch 'upstream/master' into HEAD 2017-08-06 18:13:49 -04:00
test_editor_bdd.py Don't use shlex for configtypes.ShellCommand 2017-09-14 14:44:24 +02:00
test_hints_bdd.py Adjust test settings 2017-07-04 15:08:02 +02:00
test_history_bdd.py tests: Clean up check_history 2017-06-19 07:44:11 -04:00
test_invoke_bdd.py Fix pylint 2017-07-04 15:34:10 +02:00
test_javascript_bdd.py Set an initial window size for background tabs 2017-06-11 17:48:01 +02:00
test_keyinput_bdd.py Fix pylint 2017-07-04 15:34:10 +02:00
test_marks_bdd.py Finally update copyrights... 2017-05-09 21:37:03 +02:00
test_misc_bdd.py Add a separate qutescheme BDD file 2017-07-04 15:08:03 +02:00
test_navigate_bdd.py Finally update copyrights... 2017-05-09 21:37:03 +02:00
test_open_bdd.py Adjust test settings 2017-07-04 15:08:02 +02:00
test_private_bdd.py Test for private browsing differently 2017-05-17 09:42:28 +02:00
test_prompts_bdd.py Finally update copyrights... 2017-05-09 21:37:03 +02:00
test_qutescheme_bdd.py Add a separate qutescheme BDD file 2017-07-04 15:08:03 +02:00
test_scroll_bdd.py Finally update copyrights... 2017-05-09 21:37:03 +02:00
test_search_bdd.py Finally update copyrights... 2017-05-09 21:37:03 +02:00
test_sessions_bdd.py Finally update copyrights... 2017-05-09 21:37:03 +02:00
test_spawn_bdd.py Finally update copyrights... 2017-05-09 21:37:03 +02:00
test_tabs_bdd.py Warn user if pinned tab is closed via tab-only 2017-05-11 14:30:45 -07:00
test_urlmarks_bdd.py Finally update copyrights... 2017-05-09 21:37:03 +02:00
test_utilcmds_bdd.py Finally update copyrights... 2017-05-09 21:37:03 +02:00
test_yankpaste_bdd.py tests: Fix more issues with new config 2017-07-04 15:08:02 +02:00
test_zoom_bdd.py Finally update copyrights... 2017-05-09 21:37:03 +02:00
urlmarks.feature Add an url. group to settings 2017-07-04 15:08:03 +02:00
utilcmds.feature Adjust test settings 2017-07-04 15:08:02 +02:00
yankpaste.feature Refactor JS log handling and use a dict for javascript.log 2017-09-14 00:37:01 +02:00
zoom.feature tests: Fix more issues with new config 2017-07-04 15:08:02 +02:00