summaryrefslogtreecommitdiff
path: root/uitest
diff options
context:
space:
mode:
authorVictor Kukshiev <andrey0bolkonsky@gmail.com>2021-02-19 00:23:30 +0300
committerXisco Fauli <xiscofauli@libreoffice.org>2021-03-11 15:00:29 +0100
commit1a0af07a556e53dd156d933a8fb82bd13b5e84b1 (patch)
tree0addc62353730ca6c3b7604d669c4ab59429e1b1 /uitest
parenta05622de4a97215260a9275e6117d9f0e1e8e87f (diff)
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 <xiscofauli@libreoffice.org>
Diffstat (limited to 'uitest')
-rw-r--r--uitest/math_tests/start.py1
-rw-r--r--uitest/uitest/bisecting.py2
-rw-r--r--uitest/uitest/framework.py2
-rw-r--r--uitest/uitest/uihelper/keyboard.py2
4 files changed, 2 insertions, 5 deletions
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"}))