forked from openlp/openlp
fix test
This commit is contained in:
parent
b9101d97fd
commit
27a6af8ab1
@ -681,7 +681,7 @@ class TestSlideController(TestCase):
|
||||
slide_controller._process_item(mocked_media_item, 0)
|
||||
|
||||
# THEN: Registry.execute should have been called to stop the presentation
|
||||
self.assertEqual(3, mocked_execute.call_count, 'Execute should have been called 2 times')
|
||||
self.assertEqual(2, mocked_execute.call_count, 'Execute should have been called 2 times')
|
||||
self.assertEqual('mocked_presentation_item_stop', mocked_execute.call_args_list[1][0][0],
|
||||
'The presentation should have been stopped.')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user