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/demo_ui | |
parent | bec5a2639636635c9184beda2f63fe4a9a16a9b8 (diff) |
uitest: remove the imports for pyuno and time
Change-Id: I384e9ee1a38aad80bf3a4906a4955c57e4895538
Diffstat (limited to 'uitest/demo_ui')
-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 |
7 files changed, 0 insertions, 73 deletions
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): |