diff options
Diffstat (limited to 'sw/qa/uitest/writer_tests4')
-rw-r--r-- | sw/qa/uitest/writer_tests4/tdf49683.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sw/qa/uitest/writer_tests4/tdf49683.py b/sw/qa/uitest/writer_tests4/tdf49683.py index 3d5af6a71f14..48cd641d39f4 100644 --- a/sw/qa/uitest/writer_tests4/tdf49683.py +++ b/sw/qa/uitest/writer_tests4/tdf49683.py @@ -9,14 +9,13 @@ from uitest.framework import UITestCase from libreoffice.uno.propertyvalue import mkPropertyValues -from uitest.path import get_srcdir_url from uitest.uihelper.common import get_state_as_dict -import time -from uitest.debug import sleep from uitest.uihelper.common import select_pos +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 tdf49683(UITestCase): @@ -35,4 +34,4 @@ class tdf49683(UITestCase): self.ui_test.close_doc() -# vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file +# vim: set shiftwidth=4 softtabstop=4 expandtab: |