From 88f69ea7c4989f7e11f8f9c3289269c1192e489c Mon Sep 17 00:00:00 2001 From: Phill Ridout Date: Tue, 20 Jan 2015 07:14:58 +0000 Subject: [PATCH] doc strings an typos --- tests/functional/openlp_plugins/images/test_lib.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/functional/openlp_plugins/images/test_lib.py b/tests/functional/openlp_plugins/images/test_lib.py index c90459544..9dfb324cc 100644 --- a/tests/functional/openlp_plugins/images/test_lib.py +++ b/tests/functional/openlp_plugins/images/test_lib.py @@ -50,7 +50,7 @@ class TestImageMediaItem(TestCase): def validate_and_load_test(self): """ - Test that the validate_and_load_test() method + Test that the validate_and_load_test() method when called without a group """ # GIVEN: A list of files file_list = ['/path1/image1.jpg', '/path2/image2.jpg'] @@ -62,13 +62,13 @@ class TestImageMediaItem(TestCase): self.media_item.validate_and_load(file_list) # THEN: load_list should have been called with the file list and None, - # the dectory should have been saved to the settings + # the directory should have been saved to the settings mocked_load_list.assert_called_once_with(file_list, None) mocked_settings().setValue.assert_called_once_with(ANY, '/path1') def validate_and_load_group_test(self): """ - Test that the validate_and_load_test() method + Test that the validate_and_load_test() method when called with a group """ # GIVEN: A list of files file_list = ['/path1/image1.jpg', '/path2/image2.jpg'] @@ -80,7 +80,7 @@ class TestImageMediaItem(TestCase): self.media_item.validate_and_load(file_list, 'group') # THEN: load_list should have been called with the file list and the group name, - # the dectory should have been saved to the settings + # the directory should have been saved to the settings mocked_load_list.assert_called_once_with(file_list, 'group') mocked_settings().setValue.assert_called_once_with(ANY, '/path1')