summaryrefslogtreecommitdiff
path: root/cui/qa
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 /cui/qa
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 'cui/qa')
-rw-r--r--cui/qa/uitest/dialogs/chardlg.py1
-rw-r--r--cui/qa/uitest/dialogs/shortcuts.py1
2 files changed, 0 insertions, 2 deletions
diff --git a/cui/qa/uitest/dialogs/chardlg.py b/cui/qa/uitest/dialogs/chardlg.py
index d6ebffac3e1e..6da1e21e2162 100644
--- a/cui/qa/uitest/dialogs/chardlg.py
+++ b/cui/qa/uitest/dialogs/chardlg.py
@@ -150,7 +150,6 @@ class Test(UITestCase):
# Start Writer.
with self.ui_test.create_doc_in_start_center("writer"):
doc = self.xUITest.getTopFocusWindow()
- editWin = doc.getChild("writer_edit")
# Use Format -> Character.
with self.ui_test.execute_dialog_through_command(".uno:FontDialog") as xDialog:
diff --git a/cui/qa/uitest/dialogs/shortcuts.py b/cui/qa/uitest/dialogs/shortcuts.py
index 99d2bd1ccedc..ac8a0a791496 100644
--- a/cui/qa/uitest/dialogs/shortcuts.py
+++ b/cui/qa/uitest/dialogs/shortcuts.py
@@ -15,7 +15,6 @@ class Test(UITestCase):
def test_tab_navigation(self):
with self.ui_test.create_doc_in_start_center("writer"):
xWriterDoc = self.xUITest.getTopFocusWindow()
- xWriterEdit = xWriterDoc.getChild("writer_edit")
with self.ui_test.execute_dialog_through_command(".uno:EditStyle") as xDialog: