summaryrefslogtreecommitdiff
path: root/sw/qa/unoapi
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-04-05 23:07:18 +0200
committerDavid Ostrovsky <David.Ostrovsky@gmx.de>2013-04-09 05:52:49 +0000
commitebeae438dbaa3e9f1cda33a17c4a6530feac80d9 (patch)
tree8506c0fc72da662187c11a00950ac17a240623eb /sw/qa/unoapi
parent0e68bac85293e2d60fa6db3e46de8b74ab5d502b (diff)
move Python tests in-process
This is nice to make them more easily debuggable. A series of crude hacks are employed to bootstrap enough services from python so the current tests run. This is only tested with system python3 on Fedora. Change-Id: I5e06741e55ead7fddec41ff776ff8ca5d2399469 Reviewed-on: https://gerrit.libreoffice.org/3215 Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
Diffstat (limited to 'sw/qa/unoapi')
-rw-r--r--sw/qa/unoapi/python/get_expression.py2
-rw-r--r--sw/qa/unoapi/python/set_expression.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/unoapi/python/get_expression.py b/sw/qa/unoapi/python/get_expression.py
index 277d3cfa5ba9..5ac49f88fc34 100644
--- a/sw/qa/unoapi/python/get_expression.py
+++ b/sw/qa/unoapi/python/get_expression.py
@@ -1,5 +1,5 @@
import unittest
-from org.libreoffice.unotest import UnoConnection
+from org.libreoffice.unotest import UnoNotConnection as UnoConnection
class TestGetExpression(unittest.TestCase):
_unoCon = None
diff --git a/sw/qa/unoapi/python/set_expression.py b/sw/qa/unoapi/python/set_expression.py
index 8f6d19e26396..d88d2f384ef0 100644
--- a/sw/qa/unoapi/python/set_expression.py
+++ b/sw/qa/unoapi/python/set_expression.py
@@ -1,5 +1,5 @@
import unittest
-from org.libreoffice.unotest import UnoConnection
+from org.libreoffice.unotest import UnoNotConnection as UnoConnection
#@unittest.skip("that seems to work")
class TestSetExpresion(unittest.TestCase):