From 4418f099661033702b8fb94572bd0a1bfecbd55b Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Wed, 13 Jan 2021 16:35:28 +0100 Subject: uitest: sc: factor out common code ( part 2 ) Change-Id: Ia2a707f1df513e067c8e34b263ad336fed6d14dd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109235 Tested-by: Jenkins Reviewed-by: Xisco Fauli --- sc/qa/uitest/pageFormat/tdf123508.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'sc/qa/uitest/pageFormat') diff --git a/sc/qa/uitest/pageFormat/tdf123508.py b/sc/qa/uitest/pageFormat/tdf123508.py index 37d309815c5f..e3ec5327649a 100644 --- a/sc/qa/uitest/pageFormat/tdf123508.py +++ b/sc/qa/uitest/pageFormat/tdf123508.py @@ -5,17 +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 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 -from uitest.uihelper.common import get_state_as_dict, type_text -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() +from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file, type_text #Bug 123508 - "Fit print range(s) to width/height" value falls back to default when window closes -- cgit