diff options
Diffstat (limited to 'sw/qa/uitest/writer_tests4/tdf92611.py')
-rw-r--r-- | sw/qa/uitest/writer_tests4/tdf92611.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sw/qa/uitest/writer_tests4/tdf92611.py b/sw/qa/uitest/writer_tests4/tdf92611.py index 8fee6143c4c7..a0feb2f6b85e 100644 --- a/sw/qa/uitest/writer_tests4/tdf92611.py +++ b/sw/qa/uitest/writer_tests4/tdf92611.py @@ -1,3 +1,6 @@ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- +# +# This file is part of the LibreOffice project. # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -10,12 +13,11 @@ class tdf92611(UITestCase): def test_launch_and_close_bibliography(self): - self.ui_test.create_doc_in_start_center("writer") + with self.ui_test.create_doc_in_start_center("writer"): - self.xUITest.executeCommand(".uno:BibliographyComponent") + self.xUITest.executeCommand(".uno:BibliographyComponent") - self.xUITest.executeCommand(".uno:CloseWin") + self.xUITest.executeCommand(".uno:CloseWin") - self.ui_test.close_doc() # vim: set shiftwidth=4 softtabstop=4 expandtab: |