Break long lines

This commit is contained in:
Florian Bruhin 2017-11-07 11:29:53 +01:00
parent fdc9dfdf87
commit 743dbbbcd6

View File

@ -120,14 +120,16 @@ def test_open_with_ascii_locale(request, server, tmpdir, quteproc_new):
@pytest.mark.linux
def test_open_command_line_with_ascii_locale(request, server, tmpdir, quteproc_new):
"""Test opening file from the command line with a non-ascii name with LC_ALL=C set.
def test_open_command_line_with_ascii_locale(request, server, tmpdir,
quteproc_new):
"""Test opening file via command line with a non-ascii name with LC_ALL=C.
https://github.com/qutebrowser/qutebrowser/issues/1450
"""
# The file does not actually have to exist because the relevant checks will
# all be called. No exception thrown means test success.
args = ['--temp-basedir'] + _base_args(request.config) + ['/home/user/föö.html']
args = (['--temp-basedir'] + _base_args(request.config) +
['/home/user/föö.html'])
quteproc_new.start(args, env={'LC_ALL': 'C'})