From e8aa242d10e200164ee23887e1bffc74455d9dfb Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Wed, 27 Apr 2016 13:02:18 +0200 Subject: [PATCH] tests: fix invocation test for --cachedir --cachedir="" doesn't work because the quotes are not processed (as they would be by the shell) and the cachedir is set to ./"" (that is a directory with two double quotes as name). The correct start parameter is thus --cachedir=, which correctly fails when the fix is reverted. --- tests/integration/test_invocations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/test_invocations.py b/tests/integration/test_invocations.py index 72fe55b90..b987d9416 100644 --- a/tests/integration/test_invocations.py +++ b/tests/integration/test_invocations.py @@ -61,7 +61,7 @@ def test_no_config(temp_basedir_env, quteproc_new): @pytest.mark.linux def test_no_cache(temp_basedir_env, quteproc_new): """Test starting with --cachedir="".""" - args = ['--debug', '--no-err-windows', '--cachedir=""', 'about:blank'] + args = ['--debug', '--no-err-windows', '--cachedir=', 'about:blank'] quteproc_new.start(args, env=temp_basedir_env) quteproc_new.send_cmd(':quit') quteproc_new.wait_for_quit()