sw/qa/uitest/writer_tests/versionDialog.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 7030cd05de6444b19baedf1215b25c6202f5478c Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Sun Oct 25 14:43:15 2020 +0100 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Sun Oct 25 19:18:38 2020 +0100 uitest: one more get_srcdir_url -> pathlib.Path Change-Id: I9bba4252563deea089750fd6397585fc1d0a0acf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104775 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/sw/qa/uitest/writer_tests/versionDialog.py b/sw/qa/uitest/writer_tests/versionDialog.py index 6a97bfd20663..011d5398ce1d 100644 --- a/sw/qa/uitest/writer_tests/versionDialog.py +++ b/sw/qa/uitest/writer_tests/versionDialog.py @@ -8,12 +8,12 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. # from uitest.framework import UITestCase -from uitest.path import get_srcdir_url from uitest.uihelper.common import get_state_as_dict +import org.libreoffice.unotest +import pathlib def get_url_for_data_file(file_name): - return get_srcdir_url() + "/sw/qa/uitest/writer_tests/data/" + file_name - + return pathlib.Path(org.libreoffice.unotest.makeCopyFromTDOC(file_name)).as_uri() class versionDialog(UITestCase): _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits