diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-03-25 10:41:54 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-03-25 16:38:16 +0100 |
commit | 8bf87fe5112fbec54db1496b5037c43e24bc76fe (patch) | |
tree | 212458067ea53329dd24d3451013c3d1887a53da /sw | |
parent | ac7ce7a64ef903bad1476f5635a7b2a1e951a7a3 (diff) |
Fix one more get_url_for_data_file
Change-Id: I19d89ce28977f5a5e0749f9fa10e169016e6e176
Reviewed-on: https://gerrit.libreoffice.org/69649
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/uitest/findReplace/findSimilarity.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sw/qa/uitest/findReplace/findSimilarity.py b/sw/qa/uitest/findReplace/findSimilarity.py index 21775bd3e350..ac5b62fac499 100644 --- a/sw/qa/uitest/findReplace/findSimilarity.py +++ b/sw/qa/uitest/findReplace/findSimilarity.py @@ -12,12 +12,11 @@ from libreoffice.calc.document import get_cell_by_position from libreoffice.uno.propertyvalue import mkPropertyValues from uitest.uihelper.common import get_state_as_dict, type_text from uitest.debug import sleep -# import org.libreoffice.unotest -# import pathlib -from uitest.path import get_srcdir_url +import org.libreoffice.unotest +import pathlib + def get_url_for_data_file(file_name): -# return pathlib.Path(org.libreoffice.unotest.makeCopyFromTDOC(file_name)).as_uri() - return get_srcdir_url() + "/sw/qa/uitest/writer_tests/data/" + file_name + return pathlib.Path(org.libreoffice.unotest.makeCopyFromTDOC(file_name)).as_uri() #Find similarities |