~tomasgroth/openlp/portable-path

« back to all changes in this revision

Viewing changes to tests/functional/openlp_core/ui/test_themeform.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  #
26
26
from unittest.mock import MagicMock, patch
27
27
 
28
28
from openlp.core.common.path import Path
29
 
from openlp.core.ui import ThemeForm
 
29
from openlp.core.ui.themeform import ThemeForm
30
30
 
31
31
 
32
32
class TestThemeManager(TestCase):
34
34
    Test the functions in the ThemeManager Class
35
35
    """
36
36
    def setUp(self):
37
 
        with patch('openlp.core.ui.ThemeForm._setup'):
 
37
        with patch('openlp.core.ui.themeform.ThemeForm._setup'):
38
38
            self.instance = ThemeForm(None)
39
39
 
40
40
    def test_on_image_path_edit_path_changed(self):