forked from openlp/openlp
fixed grammar
This commit is contained in:
parent
c3e01dd719
commit
e61d76ecff
@ -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.'
|
||||
|
||||
|
@ -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.'
|
||||
|
@ -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):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user