diff options
Diffstat (limited to 'sw/qa/uitest/writer_tests2')
-rw-r--r-- | sw/qa/uitest/writer_tests2/tdf116474.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sw/qa/uitest/writer_tests2/tdf116474.py b/sw/qa/uitest/writer_tests2/tdf116474.py index e5bb89209835..fe2ed1c488b0 100644 --- a/sw/qa/uitest/writer_tests2/tdf116474.py +++ b/sw/qa/uitest/writer_tests2/tdf116474.py @@ -5,15 +5,14 @@ from uitest.framework import UITestCase from libreoffice.uno.propertyvalue import mkPropertyValues from uitest.uihelper.common import get_state_as_dict -import time -from uitest.path import get_srcdir_url -from uitest.debug import sleep from uitest.uihelper.common import select_pos +import org.libreoffice.unotest +import pathlib #Bug 116474 - Undo/redo: The redo of adding caption to an image isn't working: no image 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 tdf116474(UITestCase): |