xmlsecurity/qa/uitest/gpg/encrypt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 379043962ea977677874fd6879714b6b9ba0b269 Author: Bogdan Buzea <buzea.bog...@libreoffice.org> AuthorDate: Sun Jun 1 09:27:01 2025 +0200 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Wed Jun 4 09:25:14 2025 +0200 tdf#158803 Remove assignment to unused variable `document` Change-Id: Ie2ee2153bfe1a0192ea2e7f9d9731758ba84a588 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186100 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/xmlsecurity/qa/uitest/gpg/encrypt.py b/xmlsecurity/qa/uitest/gpg/encrypt.py index 453a4101659f..b68b2886258d 100644 --- a/xmlsecurity/qa/uitest/gpg/encrypt.py +++ b/xmlsecurity/qa/uitest/gpg/encrypt.py @@ -76,7 +76,7 @@ class GpgEncryptTest(UITestCase): with self.ui_test.set_config('/org.openoffice.UserProfile/Data/signingkey', r"93F7584031D9B74A57BB89DFC468A04FCA526A9F"): with TemporaryDirectory() as tempdir: xFilePath = os.path.join(tempdir, "testfile.odt") - with self.ui_test.create_doc_in_start_center("writer") as document: + with self.ui_test.create_doc_in_start_center("writer"): with self.ui_test.execute_dialog_through_command(".uno:Save", close_button="") as xSaveDialog: xFileName = xSaveDialog.getChild("file_name") xFileName.executeAction("TYPE", mkPropertyValues({"KEYCODE":"CTRL+A"}))