summaryrefslogtreecommitdiffstats
path: root/pyuno/qa/pytests/testcollections_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyuno/qa/pytests/testcollections_base.py')
-rw-r--r--pyuno/qa/pytests/testcollections_base.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pyuno/qa/pytests/testcollections_base.py b/pyuno/qa/pytests/testcollections_base.py
index 8db14189f149..b3fcd2eb92f8 100644
--- a/pyuno/qa/pytests/testcollections_base.py
+++ b/pyuno/qa/pytests/testcollections_base.py
@@ -32,13 +32,13 @@ class CollectionsTestBase(unittest.TestCase):
pass
def createHiddenWindow(self, url):
- serviceManager = self.context.ServiceManager
- desktop = serviceManager.createInstanceWithContext('com.sun.star.frame.Desktop', self.context)
- loadProps = (
+ service_manager = self.context.ServiceManager
+ desktop = service_manager.createInstanceWithContext('com.sun.star.frame.Desktop', self.context)
+ load_props = (
PropertyValue(Name='Hidden', Value=True),
PropertyValue(Name='ReadOnly', Value=False)
)
- component = desktop.loadComponentFromURL(url, '_blank', 0, loadProps)
+ component = desktop.loadComponentFromURL(url, '_blank', 0, load_props)
return component
def createBlankTextDocument(self):