summaryrefslogtreecommitdiff
path: root/sc/qa/uitest/chart/chartLegend.py
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2021-01-13 16:35:28 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2021-01-14 08:34:22 +0100
commit4418f099661033702b8fb94572bd0a1bfecbd55b (patch)
tree0e72de688943b0ed01ad51340dd31a6288ab7c3c /sc/qa/uitest/chart/chartLegend.py
parent0918eade90e19dd8e9a246446dcb9463c6c7f7cc (diff)
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 <xiscofauli@libreoffice.org>
Diffstat (limited to 'sc/qa/uitest/chart/chartLegend.py')
-rw-r--r--sc/qa/uitest/chart/chartLegend.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/sc/qa/uitest/chart/chartLegend.py b/sc/qa/uitest/chart/chartLegend.py
index 7e2e085d135b..f9f02c85cc14 100644
--- a/sc/qa/uitest/chart/chartLegend.py
+++ b/sc/qa/uitest/chart/chartLegend.py
@@ -5,19 +5,12 @@
# 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.common import change_measurement_unit
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
-from uitest.debug import sleep
-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
#Chart Display Legend dialog