Make _get_echo_exe_path() private in bdd conftest
This commit is contained in:
parent
1fe2579bb1
commit
101d30fe1e
@ -36,7 +36,7 @@ from qutebrowser.browser import pdfjs
|
|||||||
from helpers import utils
|
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 the path to an echo-like command, depending on the system.
|
||||||
|
|
||||||
Return:
|
Return:
|
||||||
@ -236,7 +236,7 @@ def run_command(quteproc, httpbin, tmpdir, command):
|
|||||||
command = command.replace('(testdata)', utils.abs_datapath())
|
command = command.replace('(testdata)', utils.abs_datapath())
|
||||||
command = command.replace('(tmpdir)', str(tmpdir))
|
command = command.replace('(tmpdir)', str(tmpdir))
|
||||||
command = command.replace('(dirsep)', os.sep)
|
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)
|
quteproc.send_cmd(command, count=count, invalid=invalid)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user