forked from openlp/openlp
- Fixed 2 tests
This commit is contained in:
parent
5270b1a716
commit
3918027ff1
|
@ -480,7 +480,7 @@ class TestMediaItem(TestCase, TestMixin):
|
|||
# WHEN: Calling update_auto_completer
|
||||
self.media_item.update_auto_completer()
|
||||
|
||||
# THEN: set_case_insensitive_completer should have been called with the names of the books in order
|
||||
# THEN: set_case_insensitive_completer should have been called with the names of the books + space in order
|
||||
mocked_set_case_insensitive_completer.assert_called_once_with(
|
||||
['Book 1 ', 'Book 2 ', 'Book 3 '], mocked_search_edit)
|
||||
|
||||
|
@ -500,7 +500,7 @@ class TestMediaItem(TestCase, TestMixin):
|
|||
# WHEN: Calling update_auto_completer
|
||||
self.media_item.update_auto_completer()
|
||||
|
||||
# THEN: set_case_insensitive_completer should have been called with the names of the books in order
|
||||
# THEN: set_case_insensitive_completer should have been called with the names of the books + space in order
|
||||
mocked_set_case_insensitive_completer.assert_called_once_with(
|
||||
['Book 1 ', 'Book 2 ', 'Book 3 '], mocked_search_edit)
|
||||
|
||||
|
|
Loading…
Reference in New Issue