diff --git a/tests/end2end/test_invocations.py b/tests/end2end/test_invocations.py index ff8f91ad6..9abdd73ba 100644 --- a/tests/end2end/test_invocations.py +++ b/tests/end2end/test_invocations.py @@ -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'})