summaryrefslogtreecommitdiffstats
path: root/uitest/writer_tests/tdf104649.py
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/writer_tests/tdf104649.py')
-rw-r--r--uitest/writer_tests/tdf104649.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/uitest/writer_tests/tdf104649.py b/uitest/writer_tests/tdf104649.py
index a1593d387339..f6541feee5a4 100644
--- a/uitest/writer_tests/tdf104649.py
+++ b/uitest/writer_tests/tdf104649.py
@@ -5,10 +5,12 @@
#
from uitest.framework import UITestCase
-from uitest.path import get_srcdir_url
+
+import org.libreoffice.unotest
+import pathlib
def get_url_for_data_file(file_name):
- return get_srcdir_url() + "/uitest/writer_tests/data/" + file_name
+ return pathlib.Path(org.libreoffice.unotest.makeCopyFromTDOC(file_name)).as_uri()
class tdf104649(UITestCase):