summaryrefslogtreecommitdiff
path: root/uitest/calc_tests
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-07-10 18:32:12 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-07-13 11:29:56 +0200
commit65a31df69f8fd07fdd8cd7423348b474e39b960d (patch)
tree28f8ae3c18a298356817df42e561b87a989c06aa /uitest/calc_tests
parentbec5a2639636635c9184beda2f63fe4a9a16a9b8 (diff)
uitest: remove the imports for pyuno and time
Change-Id: I384e9ee1a38aad80bf3a4906a4955c57e4895538
Diffstat (limited to 'uitest/calc_tests')
-rw-r--r--uitest/calc_tests/create_chart.py10
-rw-r--r--uitest/calc_tests/create_range_name.py10
-rw-r--r--uitest/calc_tests/function_wizard.py11
-rw-r--r--uitest/calc_tests/gridwin.py12
-rw-r--r--uitest/calc_tests/gridwindow.py12
5 files changed, 0 insertions, 55 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):