summaryrefslogtreecommitdiff
path: root/sc/qa/uitest/solver/solver.py
diff options
context:
space:
mode:
Diffstat (limited to 'sc/qa/uitest/solver/solver.py')
-rw-r--r--sc/qa/uitest/solver/solver.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/sc/qa/uitest/solver/solver.py b/sc/qa/uitest/solver/solver.py
index 9deca217480e..80b1f5b3698d 100644
--- a/sc/qa/uitest/solver/solver.py
+++ b/sc/qa/uitest/solver/solver.py
@@ -5,16 +5,11 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
from uitest.framework import UITestCase
-from uitest.uihelper.common import get_state_as_dict
+from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file
from uitest.uihelper.common import select_pos
from uitest.uihelper.calc import enter_text_to_cell
from libreoffice.calc.document import get_cell_by_position
from libreoffice.uno.propertyvalue import mkPropertyValues
-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):