diff options
Diffstat (limited to 'unotest')
-rw-r--r-- | unotest/source/python/org/libreoffice/unotest.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/unotest/source/python/org/libreoffice/unotest.py b/unotest/source/python/org/libreoffice/unotest.py index 1991b79d29da..4ae21c1f7ac8 100644 --- a/unotest/source/python/org/libreoffice/unotest.py +++ b/unotest/source/python/org/libreoffice/unotest.py @@ -174,15 +174,6 @@ class UnoInProcess: def getDoc(self): return self.xDoc def setUp(self): - # set UserInstallation to user profile dir in test/user-template: - path = os.getenv("WORKDIR") - if os.name == "nt": - # do not quote drive letter - it must be "X:" - url = "file:///" + path - else: - url = "file://" + quote(path) - os.putenv("UserInstallation", url + "/unittest") - self.xContext = pyuno.getComponentContext() pyuno.private_initTestEnvironment() def openEmptyWriterDoc(self): |