From e61d76ecff2c4155c0fcb5cba194929c56b98ae0 Mon Sep 17 00:00:00 2001 From: Andreas Preikschat Date: Wed, 27 Feb 2013 22:40:55 +0100 Subject: [PATCH] fixed grammar --- .../openlp_core_lib/test_formattingtags.py | 12 ++++++------ tests/functional/openlp_core_lib/test_screen.py | 4 ++-- .../functional/openlp_core_utils/test_applocation.py | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/functional/openlp_core_lib/test_formattingtags.py b/tests/functional/openlp_core_lib/test_formattingtags.py index 6c60be5ac..26d87f466 100644 --- a/tests/functional/openlp_core_lib/test_formattingtags.py +++ b/tests/functional/openlp_core_lib/test_formattingtags.py @@ -45,8 +45,8 @@ class TestFormattingTags(TestCase): FormattingTags.load_tags() new_tags_list = FormattingTags.get_html_tags() - # THEN: Lists should be identically. - assert old_tags_list == new_tags_list, u'The formatting tag lists should be identically.' + # THEN: Lists should be identical. + assert old_tags_list == new_tags_list, u'The formatting tag lists should be identical.' def get_html_tags_with_user_tags_test(self): """ @@ -69,16 +69,16 @@ class TestFormattingTags(TestCase): FormattingTags.add_html_tags([TAG]) new_tags_list = copy.deepcopy(FormattingTags.get_html_tags()) - # THEN: Lists should not be identically. + # THEN: Lists should not be identical. assert old_tags_list != new_tags_list, u'The lists should be different.' # THEN: Added tag and last tag should be the same. new_tag = new_tags_list.pop() - assert TAG == new_tag, u'Tags should be identically.' + assert TAG == new_tag, u'Tags should be identical.' # WHEN: Remove the new tag. FormattingTags.remove_html_tag(len(new_tags_list)) - # THEN: The lists should now be identically. - assert old_tags_list == FormattingTags.get_html_tags(), u'The lists should be identically.' + # THEN: The lists should now be identical. + assert old_tags_list == FormattingTags.get_html_tags(), u'The lists should be identical.' diff --git a/tests/functional/openlp_core_lib/test_screen.py b/tests/functional/openlp_core_lib/test_screen.py index d823a2469..4b4df8e9b 100644 --- a/tests/functional/openlp_core_lib/test_screen.py +++ b/tests/functional/openlp_core_lib/test_screen.py @@ -54,5 +54,5 @@ class TestScreenList(TestCase): new_screens = self.screens.screen_list assert len(old_screens) + 1 == len(new_screens), u'The new_screens list should be bigger.' - # THEN: The screens should be identically. - assert SCREEN == new_screens.pop(), u'The new screen should be identically to the screen defined above.' + # THEN: The screens should be identical. + assert SCREEN == new_screens.pop(), u'The new screen should be identical to the screen defined above.' diff --git a/tests/functional/openlp_core_utils/test_applocation.py b/tests/functional/openlp_core_utils/test_applocation.py index 36b9a76a4..d823b077c 100644 --- a/tests/functional/openlp_core_utils/test_applocation.py +++ b/tests/functional/openlp_core_utils/test_applocation.py @@ -69,8 +69,8 @@ class TestAppLocation(TestCase): # When: Get the list of files. result = AppLocation.get_files() - # Then: check if the file lists are identically. - assert result == FILE_LIST, u'The file lists should be identically.' + # Then: check if the file lists are identical. + assert result == FILE_LIST, u'The file lists should be identical.' def get_files_test(self): """ @@ -85,8 +85,8 @@ class TestAppLocation(TestCase): # When: Get the list of files. result = AppLocation.get_files(u'section', u'.mp3') - # Then: check if the file lists are identically. - assert result == [u'file5.mp3', u'file6.mp3'], u'The file lists should be identically.' + # Then: check if the file lists are identical. + assert result == [u'file5.mp3', u'file6.mp3'], u'The file lists should be identical.' def get_section_data_path_test(self): """