qutebrowser/tests/end2end
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
..
data Fix some macOS testsuite issues 2017-09-11 18:33:08 +02:00
features Don't use shlex for configtypes.ShellCommand 2017-09-14 14:44:24 +02:00
fixtures tests: Ignore some more Mac Mini messages 2017-09-14 00:37:54 +02:00
conftest.py Replace OS X with macOS 2017-07-08 11:12:43 +02:00
test_dirbrowser.py Reorganize pylint config 2017-05-17 20:20:12 +02:00
test_hints_html.py Update some more references to old config options 2017-07-04 16:46:02 +02:00
test_insert_mode.py Rename input.insert_mode.auto_focused to _load 2017-07-04 15:08:02 +02:00
test_invocations.py Merge branch 'master' into new-config 2017-09-11 18:39:41 +02:00
test_mhtml_e2e.py Adjust test settings 2017-07-04 15:08:02 +02:00