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/chapterNumbering/tdf123547.py | |
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/chapterNumbering/tdf123547.py')
-rw-r--r-- | sw/qa/uitest/chapterNumbering/tdf123547.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sw/qa/uitest/chapterNumbering/tdf123547.py b/sw/qa/uitest/chapterNumbering/tdf123547.py index 116ac3dfe0b4..5e0698f8bd1e 100644 --- a/sw/qa/uitest/chapterNumbering/tdf123547.py +++ b/sw/qa/uitest/chapterNumbering/tdf123547.py @@ -6,16 +6,9 @@ from uitest.framework import UITestCase from libreoffice.uno.propertyvalue import mkPropertyValues -from uitest.uihelper.common import get_state_as_dict, type_text -import time -from uitest.debug import sleep +from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file, type_text from libreoffice.uno.propertyvalue import mkPropertyValues from uitest.uihelper.common import select_pos -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() #Bug 123547 - Systematic crash after opening Tools > Chapter Numbering |