fixed grammar

This commit is contained in:
Andreas Preikschat 2013-02-27 22:40:55 +01:00
parent c3e01dd719
commit e61d76ecff
3 changed files with 12 additions and 12 deletions

View File

@ -45,8 +45,8 @@ class TestFormattingTags(TestCase):
FormattingTags.load_tags() FormattingTags.load_tags()
new_tags_list = FormattingTags.get_html_tags() new_tags_list = FormattingTags.get_html_tags()
# THEN: Lists should be identically. # THEN: Lists should be identical.
assert old_tags_list == new_tags_list, u'The formatting tag lists should be identically.' assert old_tags_list == new_tags_list, u'The formatting tag lists should be identical.'
def get_html_tags_with_user_tags_test(self): def get_html_tags_with_user_tags_test(self):
""" """
@ -69,16 +69,16 @@ class TestFormattingTags(TestCase):
FormattingTags.add_html_tags([TAG]) FormattingTags.add_html_tags([TAG])
new_tags_list = copy.deepcopy(FormattingTags.get_html_tags()) 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.' assert old_tags_list != new_tags_list, u'The lists should be different.'
# THEN: Added tag and last tag should be the same. # THEN: Added tag and last tag should be the same.
new_tag = new_tags_list.pop() 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. # WHEN: Remove the new tag.
FormattingTags.remove_html_tag(len(new_tags_list)) FormattingTags.remove_html_tag(len(new_tags_list))
# THEN: The lists should now be identically. # THEN: The lists should now be identical.
assert old_tags_list == FormattingTags.get_html_tags(), u'The lists should be identically.' assert old_tags_list == FormattingTags.get_html_tags(), u'The lists should be identical.'

View File

@ -54,5 +54,5 @@ class TestScreenList(TestCase):
new_screens = self.screens.screen_list new_screens = self.screens.screen_list
assert len(old_screens) + 1 == len(new_screens), u'The new_screens list should be bigger.' assert len(old_screens) + 1 == len(new_screens), u'The new_screens list should be bigger.'
# THEN: The screens should be identically. # THEN: The screens should be identical.
assert SCREEN == new_screens.pop(), u'The new screen should be identically to the screen defined above.' assert SCREEN == new_screens.pop(), u'The new screen should be identical to the screen defined above.'

View File

@ -69,8 +69,8 @@ class TestAppLocation(TestCase):
# When: Get the list of files. # When: Get the list of files.
result = AppLocation.get_files() result = AppLocation.get_files()
# Then: check if the file lists are identically. # Then: check if the file lists are identical.
assert result == FILE_LIST, u'The file lists should be identically.' assert result == FILE_LIST, u'The file lists should be identical.'
def get_files_test(self): def get_files_test(self):
""" """
@ -85,8 +85,8 @@ class TestAppLocation(TestCase):
# When: Get the list of files. # When: Get the list of files.
result = AppLocation.get_files(u'section', u'.mp3') result = AppLocation.get_files(u'section', u'.mp3')
# Then: check if the file lists are identically. # Then: check if the file lists are identical.
assert result == [u'file5.mp3', u'file6.mp3'], u'The file lists should be identically.' assert result == [u'file5.mp3', u'file6.mp3'], u'The file lists should be identical.'
def get_section_data_path_test(self): def get_section_data_path_test(self):
""" """