summaryrefslogtreecommitdiff
path: root/unotest
diff options
context:
space:
mode:
authorChenxiong Qi <qcxhome@gmail.com>2023-12-17 22:14:09 +0800
committerHossein <hossein@libreoffice.org>2023-12-27 13:48:47 +0100
commit8b6e0dd9e47c20a79fd194f6d530d1c868911bda (patch)
tree9ebad0a155cf126fe6fde2b892bb164aaf914000 /unotest
parent7ad6ae594fd92b736b4217268eea47c71c04c34a (diff)
tdf#158803 Fix issues detected by pyflakes
Change-Id: Iaa329dff61db894e7d5fecd840e785a53a48b26f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160889 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
Diffstat (limited to 'unotest')
-rw-r--r--unotest/source/python/org/libreoffice/unotest.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/unotest/source/python/org/libreoffice/unotest.py b/unotest/source/python/org/libreoffice/unotest.py
index e27f9e145de4..743e1781de84 100644
--- a/unotest/source/python/org/libreoffice/unotest.py
+++ b/unotest/source/python/org/libreoffice/unotest.py
@@ -35,11 +35,6 @@ except ImportError:
print(" URE_BOOTSTRAP=file:///installation/opt/program/fundamentalrc")
raise
-try:
- from urllib.parse import quote
-except ImportError:
- from urllib import quote
-
### utilities ###
def mkPropertyValue(name, value):
@@ -314,6 +309,7 @@ if __name__ == "__main__":
args = parser.parse_args()
if args.verbose:
verbose = True
+ from uitest.libreoffice.connection import PersistentConnection
con = PersistentConnection({"verbose" : args.verbose})
print("starting soffice ... ", end="")
con.setUp()