From 101d30fe1e1204ea8db7f0cfaaa8f6bf94e4150d Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 11 Sep 2016 16:15:27 +0200 Subject: [PATCH] Make _get_echo_exe_path() private in bdd conftest --- tests/end2end/features/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/end2end/features/conftest.py b/tests/end2end/features/conftest.py index f035ac96c..03f082c22 100644 --- a/tests/end2end/features/conftest.py +++ b/tests/end2end/features/conftest.py @@ -36,7 +36,7 @@ from qutebrowser.browser import pdfjs from helpers import utils -def get_echo_exe_path(): +def _get_echo_exe_path(): """Return the path to an echo-like command, depending on the system. Return: @@ -236,7 +236,7 @@ def run_command(quteproc, httpbin, tmpdir, command): command = command.replace('(testdata)', utils.abs_datapath()) command = command.replace('(tmpdir)', str(tmpdir)) command = command.replace('(dirsep)', os.sep) - command = command.replace('(echo-exe)', get_echo_exe_path()) + command = command.replace('(echo-exe)', _get_echo_exe_path()) quteproc.send_cmd(command, count=count, invalid=invalid)