[Libreoffice-commits] core.git: sw/qa
Xisco Fauli (via logerrit)
logerrit at kemper.freedesktop.org
Sun Oct 25 18:19:25 UTC 2020
sw/qa/uitest/writer_tests/versionDialog.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 7030cd05de6444b19baedf1215b25c6202f5478c
Author: Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Sun Oct 25 14:43:15 2020 +0100
Commit: Xisco Fauli <xiscofauli at 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 <xiscofauli at 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):
More information about the Libreoffice-commits
mailing list