[Libreoffice-commits] core.git: uitest/math_tests uitest/uitest

Victor Kukshiev (via logerrit) logerrit at kemper.freedesktop.org
Thu Mar 11 14:01:12 UTC 2021


 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(-)

New commits:
commit 1a0af07a556e53dd156d933a8fb82bd13b5e84b1
Author:     Victor Kukshiev <andrey0bolkonsky at gmail.com>
AuthorDate: Fri Feb 19 00:23:30 2021 +0300
Commit:     Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Thu Mar 11 15:00:29 2021 +0100

    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 at libreoffice.org>

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"}))


More information about the Libreoffice-commits mailing list