From f1f0ab9c3d783e05c0939937af90ca5a10a22efd Mon Sep 17 00:00:00 2001 From: Phill Ridout Date: Mon, 19 Jan 2015 22:59:49 +0000 Subject: [PATCH] pep fixes --- tests/functional/openlp_plugins/images/test_lib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/functional/openlp_plugins/images/test_lib.py b/tests/functional/openlp_plugins/images/test_lib.py index 79ebda0b4..c90459544 100644 --- a/tests/functional/openlp_plugins/images/test_lib.py +++ b/tests/functional/openlp_plugins/images/test_lib.py @@ -56,7 +56,7 @@ class TestImageMediaItem(TestCase): file_list = ['/path1/image1.jpg', '/path2/image2.jpg'] with patch('openlp.plugins.images.lib.mediaitem.ImageMediaItem.load_list') as mocked_load_list, \ - patch('openlp.plugins.images.lib.mediaitem.Settings') as mocked_settings: + patch('openlp.plugins.images.lib.mediaitem.Settings') as mocked_settings: # WHEN: Calling validate_and_load with the list of files self.media_item.validate_and_load(file_list) @@ -74,7 +74,7 @@ class TestImageMediaItem(TestCase): file_list = ['/path1/image1.jpg', '/path2/image2.jpg'] with patch('openlp.plugins.images.lib.mediaitem.ImageMediaItem.load_list') as mocked_load_list, \ - patch('openlp.plugins.images.lib.mediaitem.Settings') as mocked_settings: + patch('openlp.plugins.images.lib.mediaitem.Settings') as mocked_settings: # WHEN: Calling validate_and_load with the list of files and a group self.media_item.validate_and_load(file_list, 'group')