From 1a0af07a556e53dd156d933a8fb82bd13b5e84b1 Mon Sep 17 00:00:00 2001 From: Victor Kukshiev Date: Fri, 19 Feb 2021 00:23:30 +0300 Subject: tdf#132293 remove unused imports from uitest Change-Id: I8f47f87a25c3194c984a2deadcc3df86c6060847 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111499 Tested-by: Jenkins Reviewed-by: Xisco Fauli --- uitest/math_tests/start.py | 1 - uitest/uitest/bisecting.py | 2 -- uitest/uitest/framework.py | 2 +- uitest/uitest/uihelper/keyboard.py | 2 +- 4 files changed, 2 insertions(+), 5 deletions(-) (limited to 'uitest') diff --git a/uitest/math_tests/start.py b/uitest/math_tests/start.py index 425cb9679f57..2ad977f73917 100644 --- a/uitest/math_tests/start.py +++ b/uitest/math_tests/start.py @@ -11,7 +11,6 @@ from libreoffice.uno.propertyvalue import mkPropertyValues from uitest.framework import UITestCase from uitest.uihelper.common import type_text, select_pos -from uitest.debug import sleep import unittest diff --git a/uitest/uitest/bisecting.py b/uitest/uitest/bisecting.py index 7d2f074411df..938baaa2f971 100644 --- a/uitest/uitest/bisecting.py +++ b/uitest/uitest/bisecting.py @@ -5,8 +5,6 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. # -from functools import wraps - def requires(revision): def decorator(f): f.requires = revision diff --git a/uitest/uitest/framework.py b/uitest/uitest/framework.py index 7149132c3508..072ff5097dbf 100644 --- a/uitest/uitest/framework.py +++ b/uitest/uitest/framework.py @@ -11,7 +11,7 @@ import time from uitest.test import UITest -from libreoffice.connection import PersistentConnection, OfficeConnection +from libreoffice.connection import PersistentConnection class UITestCase(unittest.TestCase): diff --git a/uitest/uitest/uihelper/keyboard.py b/uitest/uitest/uihelper/keyboard.py index f2d8890afed0..f2be76de407c 100644 --- a/uitest/uitest/uihelper/keyboard.py +++ b/uitest/uitest/uihelper/keyboard.py @@ -5,7 +5,7 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. # -from libreoffice.uno.propertyvalue import convert_property_values_to_dict, mkPropertyValues +from libreoffice.uno.propertyvalue import mkPropertyValues def select_all(ui_object): ui_object.executeAction("TYPE", mkPropertyValues({"KEYCODE":"CTRL+A"})) -- cgit