diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-01-14 10:02:16 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-01-15 00:19:42 +0100 |
commit | fd2dbccefa27f4d24b3d92ba2477202c9963cc9a (patch) | |
tree | 92f16761a1f7c4b32354cf72d6157b4256f1682c /sw/qa/uitest/table/tdf135693.py | |
parent | 5f787d7f9d9d28df6090554c66b9934d0a4904c1 (diff) |
uitest: sw: factor out common code ( part 3 )
Change-Id: I8c65b9729b4a5c91c77c278282b54a9410876ca9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109259
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sw/qa/uitest/table/tdf135693.py')
-rw-r--r-- | sw/qa/uitest/table/tdf135693.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/sw/qa/uitest/table/tdf135693.py b/sw/qa/uitest/table/tdf135693.py index d25f396dc91f..39026fcbfd27 100644 --- a/sw/qa/uitest/table/tdf135693.py +++ b/sw/qa/uitest/table/tdf135693.py @@ -1,13 +1,12 @@ # -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- +# +# 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 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. from uitest.framework import UITestCase from uitest.uihelper.common import select_pos -from uitest.uihelper.common import get_state_as_dict -import org.libreoffice.unotest -import pathlib - -def get_url_for_data_file(file_name): - return pathlib.Path(org.libreoffice.unotest.makeCopyFromTDOC(file_name)).as_uri() +from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file class tdf135693(UITestCase): |