diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-01-14 10:02:16 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-01-15 00:19:42 +0100 |
commit | fd2dbccefa27f4d24b3d92ba2477202c9963cc9a (patch) | |
tree | 92f16761a1f7c4b32354cf72d6157b4256f1682c /sw/qa/uitest/writer_tests3 | |
parent | 5f787d7f9d9d28df6090554c66b9934d0a4904c1 (diff) |
uitest: sw: factor out common code ( part 3 )
Change-Id: I8c65b9729b4a5c91c77c278282b54a9410876ca9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109259
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sw/qa/uitest/writer_tests3')
-rw-r--r-- | sw/qa/uitest/writer_tests3/goToPage.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sw/qa/uitest/writer_tests3/goToPage.py b/sw/qa/uitest/writer_tests3/goToPage.py index 7c56791a9066..e8c0c6486a38 100644 --- a/sw/qa/uitest/writer_tests3/goToPage.py +++ b/sw/qa/uitest/writer_tests3/goToPage.py @@ -5,12 +5,7 @@ from uitest.framework import UITestCase from libreoffice.uno.propertyvalue import mkPropertyValues -from uitest.uihelper.common import get_state_as_dict -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() +from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file class GoToPage_dialog(UITestCase): |