diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-07-10 18:32:12 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-07-13 11:29:56 +0200 |
commit | 65a31df69f8fd07fdd8cd7423348b474e39b960d (patch) | |
tree | 28f8ae3c18a298356817df42e561b87a989c06aa /uitest | |
parent | bec5a2639636635c9184beda2f63fe4a9a16a9b8 (diff) |
uitest: remove the imports for pyuno and time
Change-Id: I384e9ee1a38aad80bf3a4906a4955c57e4895538
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/calc_tests/create_chart.py | 10 | ||||
-rw-r--r-- | uitest/calc_tests/create_range_name.py | 10 | ||||
-rw-r--r-- | uitest/calc_tests/function_wizard.py | 11 | ||||
-rw-r--r-- | uitest/calc_tests/gridwin.py | 12 | ||||
-rw-r--r-- | uitest/calc_tests/gridwindow.py | 12 | ||||
-rw-r--r-- | uitest/demo_ui/checkbox.py | 12 | ||||
-rw-r--r-- | uitest/demo_ui/edit.py | 10 | ||||
-rw-r--r-- | uitest/demo_ui/gridwin.py | 12 | ||||
-rw-r--r-- | uitest/demo_ui/spinfield.py | 12 | ||||
-rw-r--r-- | uitest/demo_ui/tabcontrol.py | 13 | ||||
-rw-r--r-- | uitest/demo_ui/tabdialog.py | 2 | ||||
-rw-r--r-- | uitest/demo_ui/treelist.py | 12 | ||||
-rw-r--r-- | uitest/impress_tests/start.py | 10 | ||||
-rw-r--r-- | uitest/writer_tests/start.py | 10 |
14 files changed, 0 insertions, 148 deletions
diff --git a/uitest/calc_tests/create_chart.py b/uitest/calc_tests/create_chart.py index 356fcb268196..64a5a0367c58 100644 --- a/uitest/calc_tests/create_chart.py +++ b/uitest/calc_tests/create_chart.py @@ -13,16 +13,6 @@ from uitest.framework import UITestCase import time -try: - import pyuno - import uno - import unohelper -except ImportError: - print("pyuno not found: try to set PYTHONPATH and URE_BOOTSTRAP variables") - print("PYTHONPATH=/installation/opt/program") - print("URE_BOOTSTRAP=file:///installation/opt/program/fundamentalrc") - raise - class CalcChartUIDemo(UITestCase): def add_content_to_cell(self, gridwin, cell, content): diff --git a/uitest/calc_tests/create_range_name.py b/uitest/calc_tests/create_range_name.py index 6c61d14694d9..464c1f9b3c2d 100644 --- a/uitest/calc_tests/create_range_name.py +++ b/uitest/calc_tests/create_range_name.py @@ -11,16 +11,6 @@ from libreoffice.uno.propertyvalue import mkPropertyValues from uitest.framework import UITestCase -try: - import pyuno - import uno - import unohelper -except ImportError: - print("pyuno not found: try to set PYTHONPATH and URE_BOOTSTRAP variables") - print("PYTHONPATH=/installation/opt/program") - print("URE_BOOTSTRAP=file:///installation/opt/program/fundamentalrc") - raise - class CreateRangeNameTest(UITestCase): def test_create_range_name(self): diff --git a/uitest/calc_tests/function_wizard.py b/uitest/calc_tests/function_wizard.py index 7c37a2c58fdb..66d92822d329 100644 --- a/uitest/calc_tests/function_wizard.py +++ b/uitest/calc_tests/function_wizard.py @@ -8,20 +8,9 @@ from uitest_helper import UITest from libreoffice.uno.propertyvalue import mkPropertyValues -import time from uitest.framework import UITestCase -try: - import pyuno - import uno - import unohelper -except ImportError: - print("pyuno not found: try to set PYTHONPATH and URE_BOOTSTRAP variables") - print("PYTHONPATH=/installation/opt/program") - print("URE_BOOTSTRAP=file:///installation/opt/program/fundamentalrc") - raise - class FunctionWizardTest(UITestCase): # tdf#98427 def test_open_function_wizard(self): diff --git a/uitest/calc_tests/gridwin.py b/uitest/calc_tests/gridwin.py index ba50baecfe5e..5b3b2cd180b0 100644 --- a/uitest/calc_tests/gridwin.py +++ b/uitest/calc_tests/gridwin.py @@ -11,18 +11,6 @@ from libreoffice.uno.propertyvalue import mkPropertyValues from uitest.framework import UITestCase -import time - -try: - import pyuno - import uno - import unohelper -except ImportError: - print("pyuno not found: try to set PYTHONPATH and URE_BOOTSTRAP variables") - print("PYTHONPATH=/installation/opt/program") - print("URE_BOOTSTRAP=file:///installation/opt/program/fundamentalrc") - raise - class GridWinTest(UITestCase): def test_select_object(self): diff --git a/uitest/calc_tests/gridwindow.py b/uitest/calc_tests/gridwindow.py index 7589467290b8..ef547bae7bf2 100644 --- a/uitest/calc_tests/gridwindow.py +++ b/uitest/calc_tests/gridwindow.py @@ -13,18 +13,6 @@ from uitest.uihelper.calc import enter_text_to_cell from uitest.framework import UITestCase -import time - -try: - import pyuno - import uno - import unohelper -except ImportError: - print("pyuno not found: try to set PYTHONPATH and URE_BOOTSTRAP variables") - print("PYTHONPATH=/installation/opt/program") - print("URE_BOOTSTRAP=file:///installation/opt/program/fundamentalrc") - raise - class GridWindowTest(UITestCase): def test_input(self): diff --git a/uitest/demo_ui/checkbox.py b/uitest/demo_ui/checkbox.py index 9555206e6f10..e4abfd6ee67b 100644 --- a/uitest/demo_ui/checkbox.py +++ b/uitest/demo_ui/checkbox.py @@ -11,18 +11,6 @@ from libreoffice.uno.propertyvalue import mkPropertyValues from uitest.framework import UITestCase -import time - -try: - import pyuno - import uno - import unohelper -except ImportError: - print("pyuno not found: try to set PYTHONPATH and URE_BOOTSTRAP variables") - print("PYTHONPATH=/installation/opt/program") - print("URE_BOOTSTRAP=file:///installation/opt/program/fundamentalrc") - raise - class CheckBoxTest(UITestCase): def test_toggle_checkbox(self): diff --git a/uitest/demo_ui/edit.py b/uitest/demo_ui/edit.py index b5dda599d8a5..377780710a3b 100644 --- a/uitest/demo_ui/edit.py +++ b/uitest/demo_ui/edit.py @@ -11,16 +11,6 @@ from libreoffice.uno.propertyvalue import mkPropertyValues from uitest.framework import UITestCase -try: - import pyuno - import uno - import unohelper -except ImportError: - print("pyuno not found: try to set PYTHONPATH and URE_BOOTSTRAP variables") - print("PYTHONPATH=/installation/opt/program") - print("URE_BOOTSTRAP=file:///installation/opt/program/fundamentalrc") - raise - class EditTest(UITestCase): def test_type_text(self): diff --git a/uitest/demo_ui/gridwin.py b/uitest/demo_ui/gridwin.py index d46506c2b69b..c4223f6a0d3c 100644 --- a/uitest/demo_ui/gridwin.py +++ b/uitest/demo_ui/gridwin.py @@ -11,18 +11,6 @@ from libreoffice.uno.propertyvalue import mkPropertyValues from uitest.framework import UITestCase -import time - -try: - import pyuno - import uno - import unohelper -except ImportError: - print("pyuno not found: try to set PYTHONPATH and URE_BOOTSTRAP variables") - print("PYTHONPATH=/installation/opt/program") - print("URE_BOOTSTRAP=file:///installation/opt/program/fundamentalrc") - raise - class GridWinTest(UITestCase): def test_select_cell(self): diff --git a/uitest/demo_ui/spinfield.py b/uitest/demo_ui/spinfield.py index c9912b1cc518..41637c8e241b 100644 --- a/uitest/demo_ui/spinfield.py +++ b/uitest/demo_ui/spinfield.py @@ -10,20 +10,8 @@ from uitest_helper import UITest from libreoffice.uno.propertyvalue import mkPropertyValues from uitest_helper import get_state_as_dict -import time - from uitest.framework import UITestCase -try: - import pyuno - import uno - import unohelper -except ImportError: - print("pyuno not found: try to set PYTHONPATH and URE_BOOTSTRAP variables") - print("PYTHONPATH=/installation/opt/program") - print("URE_BOOTSTRAP=file:///installation/opt/program/fundamentalrc") - raise - class SpinFieldTest(UITestCase): def test_up(self): diff --git a/uitest/demo_ui/tabcontrol.py b/uitest/demo_ui/tabcontrol.py index 196bcb805ed1..35f746554f18 100644 --- a/uitest/demo_ui/tabcontrol.py +++ b/uitest/demo_ui/tabcontrol.py @@ -5,8 +5,6 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. # -import time - from uitest_helper import UITest from libreoffice.uno.propertyvalue import mkPropertyValues @@ -15,16 +13,6 @@ from uitest.uihelper.calc import enter_text_to_cell from uitest.framework import UITestCase -try: - import pyuno - import uno - import unohelper -except ImportError: - print("pyuno not found: try to set PYTHONPATH and URE_BOOTSTRAP variables") - print("PYTHONPATH=/installation/opt/program") - print("URE_BOOTSTRAP=file:///installation/opt/program/fundamentalrc") - raise - class TabControlTest(UITestCase): def test_select_pos(self): @@ -49,4 +37,3 @@ class TabControlTest(UITestCase): self.ui_test.close_doc() # vim:set shiftwidth=4 softtabstop=4 expandtab: */ - diff --git a/uitest/demo_ui/tabdialog.py b/uitest/demo_ui/tabdialog.py index ee57d3139c93..b914ae2f42d8 100644 --- a/uitest/demo_ui/tabdialog.py +++ b/uitest/demo_ui/tabdialog.py @@ -9,8 +9,6 @@ from uitest_helper import UITest from libreoffice.uno.propertyvalue import mkPropertyValues -import time - from uitest.framework import UITestCase class TabDialogTest(UITestCase): diff --git a/uitest/demo_ui/treelist.py b/uitest/demo_ui/treelist.py index e708c45ab257..ea584c3d3a04 100644 --- a/uitest/demo_ui/treelist.py +++ b/uitest/demo_ui/treelist.py @@ -5,8 +5,6 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. # -import time - from uitest_helper import UITest from libreoffice.uno.propertyvalue import mkPropertyValues @@ -16,16 +14,6 @@ from uitest_helper import get_state_as_dict from uitest.framework import UITestCase -try: - import pyuno - import uno - import unohelper -except ImportError: - print("pyuno not found: try to set PYTHONPATH and URE_BOOTSTRAP variables") - print("PYTHONPATH=/installation/opt/program") - print("URE_BOOTSTRAP=file:///installation/opt/program/fundamentalrc") - raise - class TreeListTest(UITestCase): def test_expand(self): diff --git a/uitest/impress_tests/start.py b/uitest/impress_tests/start.py index 16b4a7d6a381..7d8a0b279433 100644 --- a/uitest/impress_tests/start.py +++ b/uitest/impress_tests/start.py @@ -13,16 +13,6 @@ from uitest.framework import UITestCase import time -try: - import pyuno - import uno - import unohelper -except ImportError: - print("pyuno not found: try to set PYTHONPATH and URE_BOOTSTRAP variables") - print("PYTHONPATH=/installation/opt/program") - print("URE_BOOTSTRAP=file:///installation/opt/program/fundamentalrc") - raise - class SimpleImpressTest(UITestCase): def test_start_impress(self): diff --git a/uitest/writer_tests/start.py b/uitest/writer_tests/start.py index d5a68b84dfe9..8b29e31ae682 100644 --- a/uitest/writer_tests/start.py +++ b/uitest/writer_tests/start.py @@ -13,16 +13,6 @@ from uitest.framework import UITestCase import time -try: - import pyuno - import uno - import unohelper -except ImportError: - print("pyuno not found: try to set PYTHONPATH and URE_BOOTSTRAP variables") - print("PYTHONPATH=/installation/opt/program") - print("URE_BOOTSTRAP=file:///installation/opt/program/fundamentalrc") - raise - class SimpleWriterTest(UITestCase): def test_start_writer(self): |