tdf#132293 remove unused imports from uitest

Change-Id: I5943ec84a0b5ed6f44af9e3f972626813987a1cb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142615
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
This commit is contained in:
Bogdan B
2022-11-11 20:14:10 +02:00
committed by Xisco Fauli
parent 3aadb8a874
commit eedb077f88
9 changed files with 10 additions and 15 deletions

View File

@@ -10,9 +10,9 @@
from uitest.framework import UITestCase from uitest.framework import UITestCase
from libreoffice.uno.propertyvalue import mkPropertyValues from libreoffice.uno.propertyvalue import mkPropertyValues
from uitest.uihelper.common import get_state_as_dict from uitest.uihelper.common import get_state_as_dict
import time
from uitest.uihelper.common import select_pos from uitest.uihelper.common import select_pos
class autocorrectOptions(UITestCase): class autocorrectOptions(UITestCase):
def test_autocorrect_options_impress(self): def test_autocorrect_options_impress(self):

View File

@@ -8,12 +8,13 @@
# #
from uitest.framework import UITestCase from uitest.framework import UITestCase
from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file from uitest.uihelper.common import get_state_as_dict
from libreoffice.uno.propertyvalue import mkPropertyValues from libreoffice.uno.propertyvalue import mkPropertyValues
from org.libreoffice.unotest import systemPathToFileUrl from org.libreoffice.unotest import systemPathToFileUrl
from tempfile import TemporaryDirectory from tempfile import TemporaryDirectory
import os.path import os.path
class exportToPDF(UITestCase): class exportToPDF(UITestCase):
def test_checkDefaultValues(self): def test_checkDefaultValues(self):

View File

@@ -8,12 +8,9 @@
# #
from uitest.framework import UITestCase from uitest.framework import UITestCase
from libreoffice.uno.propertyvalue import mkPropertyValues
from uitest.uihelper.common import get_state_as_dict
import time
from uitest.uihelper.common import select_pos
#Bug 85360 - LibreOffice crashes and crashes desktop too on inserting 4th slide #Bug 85360 - LibreOffice crashes and crashes desktop too on inserting 4th slide
class insertSlide(UITestCase): class insertSlide(UITestCase):
def test_insert_slide(self): def test_insert_slide(self):

View File

@@ -8,10 +8,8 @@
# #
from uitest.framework import UITestCase from uitest.framework import UITestCase
from libreoffice.uno.propertyvalue import mkPropertyValues
from uitest.uihelper.common import get_state_as_dict from uitest.uihelper.common import get_state_as_dict
import time
from uitest.uihelper.common import select_pos
class masterElements(UITestCase): class masterElements(UITestCase):

View File

@@ -8,11 +8,10 @@
# #
from uitest.framework import UITestCase from uitest.framework import UITestCase
from libreoffice.uno.propertyvalue import mkPropertyValues
from uitest.uihelper.common import get_state_as_dict, select_pos from uitest.uihelper.common import get_state_as_dict, select_pos
from uitest.uihelper.common import change_measurement_unit from uitest.uihelper.common import change_measurement_unit
from com.sun.star.drawing.FillStyle import SOLID from com.sun.star.drawing.FillStyle import SOLID
import importlib
class TestClass(UITestCase): class TestClass(UITestCase):
def test_master_page_background(self): def test_master_page_background(self):

View File

@@ -6,11 +6,13 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this # License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
# #
from uitest.framework import UITestCase from uitest.framework import UITestCase
from uitest.uihelper.common import select_pos, get_state_as_dict from uitest.uihelper.common import select_pos
from libreoffice.uno.propertyvalue import mkPropertyValues from libreoffice.uno.propertyvalue import mkPropertyValues
from uitest.uihelper.common import get_url_for_data_file from uitest.uihelper.common import get_url_for_data_file
class tdf127900(UITestCase): class tdf127900(UITestCase):
def test_tdf127900(self): def test_tdf127900(self):

View File

@@ -8,7 +8,6 @@
# #
from uitest.framework import UITestCase from uitest.framework import UITestCase
from uitest.uihelper.common import get_state_as_dict
from libreoffice.uno.propertyvalue import mkPropertyValues from libreoffice.uno.propertyvalue import mkPropertyValues
from uitest.uihelper.common import change_measurement_unit from uitest.uihelper.common import change_measurement_unit

View File

@@ -10,7 +10,6 @@
from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file
from libreoffice.uno.propertyvalue import mkPropertyValues from libreoffice.uno.propertyvalue import mkPropertyValues
from uitest.framework import UITestCase from uitest.framework import UITestCase
import time
class Tdf148810(UITestCase): class Tdf148810(UITestCase):

View File

@@ -5,9 +5,9 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/. # 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 get_state_as_dict
# opens the dialogs, closes it with the given close button # opens the dialogs, closes it with the given close button
# and if there is an "OK" button open the dialog again and close it by using the OK button # and if there is an "OK" button open the dialog again and close it by using the OK button
# the test only checks if LibreOffice crashes by opening the dialog # the test only checks if LibreOffice crashes by opening the dialog