Use (testdata) in "I open {path}" BDD step

This commit is contained in:
Philipp Albrecht 2023-08-23 09:26:07 +02:00
parent 853a1b9d60
commit 42dfc82fb8
1 changed files with 1 additions and 0 deletions

View File

@ -199,6 +199,7 @@ def open_path(quteproc, server, path):
- With "... as a URL", it's opened according to new_instance_open_target.
"""
path = path.replace('(port)', str(server.port))
path = path.replace('(testdata)', testutils.abs_datapath())
new_tab = False
new_bg_tab = False