From 2faf588c99e2d0ccf72d1fda1e30cc8d63652ba0 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Wed, 24 May 2017 21:04:48 +0100 Subject: [PATCH] clean up files --- openlp/core/ui/thememanager.py | 2 +- tests/functional/openlp_core_lib/test_theme.py | 2 -- tests/functional/openlp_core_ui_lib/test_thememanager.py | 6 +----- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/openlp/core/ui/thememanager.py b/openlp/core/ui/thememanager.py index 3fb2da1c9..73056568f 100644 --- a/openlp/core/ui/thememanager.py +++ b/openlp/core/ui/thememanager.py @@ -31,7 +31,7 @@ from xml.etree.ElementTree import ElementTree, XML from PyQt5 import QtCore, QtGui, QtWidgets from openlp.core.common import Registry, RegistryProperties, AppLocation, Settings, OpenLPMixin, RegistryMixin, \ - check_directory_exists, UiStrings, translate, is_win, get_filesystem_encoding, delete_file, json_default + check_directory_exists, UiStrings, translate, is_win, get_filesystem_encoding, delete_file from openlp.core.lib import FileDialog, ImageSource, ValidationError, get_text_file_string, build_icon, \ check_item_selected, create_thumb, validate_thumb from openlp.core.lib.theme import Theme, BackgroundType diff --git a/tests/functional/openlp_core_lib/test_theme.py b/tests/functional/openlp_core_lib/test_theme.py index db5291d23..bb90e574a 100644 --- a/tests/functional/openlp_core_lib/test_theme.py +++ b/tests/functional/openlp_core_lib/test_theme.py @@ -22,11 +22,9 @@ """ Package to test the openlp.core.lib.theme package. """ -import json from unittest import TestCase import os -from openlp.core.common import json_default from openlp.core.lib.theme import Theme diff --git a/tests/functional/openlp_core_ui_lib/test_thememanager.py b/tests/functional/openlp_core_ui_lib/test_thememanager.py index 51face165..d8924fe58 100644 --- a/tests/functional/openlp_core_ui_lib/test_thememanager.py +++ b/tests/functional/openlp_core_ui_lib/test_thememanager.py @@ -22,12 +22,8 @@ """ Package to test the openlp.core.ui.lib.theme package. """ -import json -from unittest import TestCase -import os -from openlp.core.common import json_default -from openlp.core.lib.theme import Theme +from unittest import TestCase class TestThemeManager(TestCase):