[Libreoffice-commits] core.git: sc/qa
Zdeněk Crhonek
zcrhonek at gmail.com
Thu Jun 28 05:05:29 UTC 2018
sc/qa/uitest/solver/solver.py | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
New commits:
commit df579bea05a27567ffecde5291d50f8a3720b730
Author: Zdeněk Crhonek <zcrhonek at gmail.com>
Date: Wed Jun 27 21:13:13 2018 +0200
repair uitest solver.py
Change-Id: I64b5d78e9a63c3b78b6ac87123bf09903556f8d9
Reviewed-on: https://gerrit.libreoffice.org/56543
Tested-by: Jenkins
Reviewed-by: Zdenek Crhonek <zcrhonek at gmail.com>
diff --git a/sc/qa/uitest/solver/solver.py b/sc/qa/uitest/solver/solver.py
index 4503a5da6877..2ac209b3d96b 100644
--- a/sc/qa/uitest/solver/solver.py
+++ b/sc/qa/uitest/solver/solver.py
@@ -11,13 +11,11 @@ from uitest.uihelper.calc import enter_text_to_cell
from libreoffice.calc.document import get_cell_by_position
from libreoffice.uno.propertyvalue import mkPropertyValues
from uitest.debug import sleep
-# import org.libreoffice.unotest
-# import pathlib
-from uitest.path import get_srcdir_url
-def get_url_for_data_file(file_name):
-# return pathlib.Path(org.libreoffice.unotest.makeCopyFromTDOC(file_name)).as_uri()
- return get_srcdir_url() + "/sc/qa/uitest/calc_tests/data/" + file_name
+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()
class solver(UITestCase):
def test_solver(self):
More information about the Libreoffice-commits
mailing list