Noticed I had removed one test from end of the file, added it back.

This commit is contained in:
suutari-olli 2016-04-20 19:01:58 +03:00
parent 55061b8fc1
commit c1d9991acb
1 changed files with 15 additions and 0 deletions

View File

@ -847,3 +847,18 @@ class TestLiveController(TestCase):
# WHEN: the default controller is built.
# THEN: The controller should not be a live controller.
self.assertEqual(live_controller.is_live, True, 'The slide controller should be a live controller')
class TestPreviewLiveController(TestCase):
def initial_preview_controller_test(self):
"""
Test the initial preview slide controller state.
"""
# GIVEN: A new SlideController instance.
Registry.create()
preview_controller = PreviewController(None)
# WHEN: the default controller is built.
# THEN: The controller should not be a live controller.
self.assertEqual(preview_controller.is_live, False, 'The slide controller should be a Preview controller')