~tomasgroth/openlp/portable-path

« back to all changes in this revision

Viewing changes to tests/functional/openlp_core/lib/test_ui.py

  • Committer: Tomas Groth
  • Date: 2019-04-30 19:02:42 UTC
  • mfrom: (2829.2.32 openlp)
  • Revision ID: tomasgroth@yahoo.dk-20190430190242-6zwjk8724tyux70m
trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
###############################################################################
5
5
# OpenLP - Open Source Lyrics Projection                                      #
6
6
# --------------------------------------------------------------------------- #
7
 
# Copyright (c) 2008-2017 OpenLP Developers                                   #
 
7
# Copyright (c) 2008-2019 OpenLP Developers                                   #
8
8
# --------------------------------------------------------------------------- #
9
9
# This program is free software; you can redistribute it and/or modify it     #
10
10
# under the terms of the GNU General Public License as published by the Free  #
23
23
Package to test the openlp.core.lib.ui package.
24
24
"""
25
25
from unittest import TestCase
26
 
from unittest.mock import MagicMock, patch, call
 
26
from unittest.mock import MagicMock, call, patch
27
27
 
28
28
from PyQt5 import QtCore, QtGui, QtWidgets
29
29
 
30
30
from openlp.core.common.i18n import UiStrings, translate
31
 
from openlp.core.lib.ui import add_welcome_page, create_button_box, create_horizontal_adjusting_combo_box, \
32
 
    create_button, create_action, create_valign_selection_widgets, find_and_set_in_combo_box, create_widget_action, \
33
 
    set_case_insensitive_completer, critical_error_message_box
 
31
from openlp.core.lib.ui import add_welcome_page, create_action, create_button, create_button_box, \
 
32
    create_horizontal_adjusting_combo_box, create_valign_selection_widgets, create_widget_action, \
 
33
    critical_error_message_box, find_and_set_in_combo_box, set_case_insensitive_completer
34
34
 
35
35
 
36
36
class TestUi(TestCase):