forked from openlp/openlp
Fix spacing
This commit is contained in:
parent
7277e3e92a
commit
0b2445b9a2
@ -316,9 +316,11 @@ class TestRouter(TestCase, TestMixin):
|
||||
patch.object(self.router, 'do_json_header'):
|
||||
self.service_manager.bootstrap_initialise()
|
||||
self.app.processEvents()
|
||||
|
||||
# WHEN: Remote next is received
|
||||
self.router.service(action='next')
|
||||
self.app.processEvents()
|
||||
|
||||
# THEN: service_manager.next_item() should have been called
|
||||
self.assertTrue(mocked_next_item.called, 'next_item() should have been called in service_manager')
|
||||
|
||||
@ -335,8 +337,10 @@ class TestRouter(TestCase, TestMixin):
|
||||
patch.object(self.router, 'do_json_header'):
|
||||
self.service_manager.bootstrap_initialise()
|
||||
self.app.processEvents()
|
||||
|
||||
# WHEN: Remote next is received
|
||||
self.router.service(action='previous')
|
||||
self.app.processEvents()
|
||||
|
||||
# THEN: service_manager.next_item() should have been called
|
||||
self.assertTrue(mocked_previous_item.called, 'previous_item() should have been called in service_manager')
|
||||
|
Loading…
Reference in New Issue
Block a user