sw/qa/uitest/options/optionsDialog.py | 1 + sw/qa/uitest/writer_tests5/tdf163325.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-)
New commits: commit b78e3343b5e8e39b178b85c1e1713921678094e9 Author: Daniel Frantes <danfran...@seznam.cz> AuthorDate: Wed Dec 4 20:32:00 2024 +0100 Commit: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> CommitDate: Sat Feb 15 07:55:01 2025 +0100 tdf#132293: Fix issues found by pyflakes Change-Id: I971ca13741c07dfe3a34857272bad5b1754d9968 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177822 Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> Tested-by: Jenkins diff --git a/sw/qa/uitest/options/optionsDialog.py b/sw/qa/uitest/options/optionsDialog.py index 48c1d5d5bc6c..b59180c53c2a 100644 --- a/sw/qa/uitest/options/optionsDialog.py +++ b/sw/qa/uitest/options/optionsDialog.py @@ -61,6 +61,7 @@ class optionsDialog(UITestCase): xOptimal = xDialog.getChild("zoomoptimal") self.assertEqual(get_state_as_dict(xOptimal)['Visible'], "true") xApplyBtn = xDialog.getChild("apply") + self.assertIsNotNone(xApplyBtn) def test_tdf132274Web(self): with self.ui_test.create_doc_in_start_center("writer"): diff --git a/sw/qa/uitest/writer_tests5/tdf163325.py b/sw/qa/uitest/writer_tests5/tdf163325.py index fe6be3a04506..8e0606e0a319 100644 --- a/sw/qa/uitest/writer_tests5/tdf163325.py +++ b/sw/qa/uitest/writer_tests5/tdf163325.py @@ -7,7 +7,6 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. # -import org.libreoffice.unotest from uitest.framework import UITestCase from uitest.uihelper.common import get_url_for_data_file, get_state_as_dict