summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyuno/qa/pytests/insertremovecells.py2
-rw-r--r--pyuno/source/module/pyuno_module.cxx4
-rw-r--r--unotest/source/python/org/libreoffice/unotest.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/pyuno/qa/pytests/insertremovecells.py b/pyuno/qa/pytests/insertremovecells.py
index 4ce2707602bc..0c9626caa7d2 100644
--- a/pyuno/qa/pytests/insertremovecells.py
+++ b/pyuno/qa/pytests/insertremovecells.py
@@ -14,7 +14,7 @@ class InsertRemoveCells(unittest.TestCase):
@classmethod
def setUpClass(cls):
cls.xContext = pyuno.getComponentContext()
- pyuno.experimentalExtraMagic()
+ pyuno.private_initTestEnvironment()
# no need for a tearDown(cls) method.
diff --git a/pyuno/source/module/pyuno_module.cxx b/pyuno/source/module/pyuno_module.cxx
index eeb039aac843..23800ee0c3be 100644
--- a/pyuno/source/module/pyuno_module.cxx
+++ b/pyuno/source/module/pyuno_module.cxx
@@ -319,7 +319,7 @@ static PyObject* getComponentContext(
return ret.getAcquired();
}
-static PyObject* initPoniesMode(
+static PyObject* initTestEnvironment(
SAL_UNUSED_PARAMETER PyObject*, SAL_UNUSED_PARAMETER PyObject*)
{
// this tries to bootstrap enough of the soffice from python to run
@@ -841,7 +841,7 @@ static PyObject *setCurrentContext(
struct PyMethodDef PyUNOModule_methods [] =
{
- {"experimentalExtraMagic", initPoniesMode, METH_VARARGS, NULL},
+ {"private_initTestEnvironment", initTestEnvironment, METH_VARARGS, NULL},
{"getComponentContext", getComponentContext, METH_VARARGS, NULL},
{"_createUnoStructHelper", reinterpret_cast<PyCFunction>(createUnoStructHelper), METH_VARARGS | METH_KEYWORDS, NULL},
{"getTypeByName", getTypeByName, METH_VARARGS, NULL},
diff --git a/unotest/source/python/org/libreoffice/unotest.py b/unotest/source/python/org/libreoffice/unotest.py
index 3da77ffdbd3e..6a7f8143cdd2 100644
--- a/unotest/source/python/org/libreoffice/unotest.py
+++ b/unotest/source/python/org/libreoffice/unotest.py
@@ -175,7 +175,7 @@ class UnoInProcess:
return self.xDoc
def setUp(self):
self.xContext = pyuno.getComponentContext()
- pyuno.experimentalExtraMagic()
+ pyuno.private_initTestEnvironment()
def openEmptyWriterDoc(self):
assert(self.xContext)
smgr = self.getContext().ServiceManager